Skip to content

Commit

Permalink
0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoSa-2000 committed Jun 6, 2023
1 parent f44b7a6 commit 63ca904
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ malid = gifs.get_malId(gif) #get the ID of the gif's anime myanimelist page.
* Random
* Steal-magic

#Troubleshooting and other
# Troubleshooting and other

If you encounter an error raise an issue on the issue page: https://github.com/MarcoSa-2000/animegifs/issues
or join the discord server to request new categories, new functions, feedback and even errors.
2 changes: 1 addition & 1 deletion animegifs/distutils/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, exc, error="Authentication request timed out."):
class AuthError(Exception):
"""
Authentication request returned an error. Probably status error 4xx.
It will be resolved soon, if it persist,
It will be resolved soon, if it persists,
issue an issue on https://github.com/MarcoSa-2000/animegifs/issues.
"""

Expand Down
4 changes: 2 additions & 2 deletions animegifs/distutils/gifs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

def authentication():
try:
response = requests.post("https://enkidu-app-5a3qq2fqya-uc.a.run.app/key1", timeout=10)
response = requests.post("https://enkidu-app-5a3qq2fqya-uc.a.run.app/key1", timeout=100)
except requests.exceptions.Timeout:
try:
response = requests.post("https://enkidu-app-5a3qq2fqya-uc.a.run.app/key1", timeout=25)
response = requests.post("https://enkidu-app-5a3qq2fqya-uc.a.run.app/key2", timeout=25)
except requests.exceptions.Timeout as exc:
raise errors.AuthTimeout(exc)
if response.status_code == 200:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
long_description = "\n" + fh.read()

LONG_DESCRIPTION = long_description
VERSION = '0.6.2'
VERSION = '0.6.3'

setup(
name='animegifs',
Expand All @@ -23,7 +23,7 @@
license='MIT',
url="https://github.com/MarcoSa-2000/animegifs",
install_requires=[
'requests==2.28.2,<=2.29.0',
'requests>=2.28.2,<=2.29.0',
'mal-api==0.5.3',
'PyJWT>=2.4.0,<=2.7.0'
],
Expand Down

0 comments on commit 63ca904

Please sign in to comment.