Comments (1)
Seems that I'm getting rate limited, getting a list of the endpoints that do this would be the next big step.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 66, in <module>
result = process_comment(reddit, reddit.comment(message.id), q)
File "/home/pmdevita/bots/gifreversingbot/core/process.py", line 173, in process_comment
result = options[0]['hosts'][0].upload(reversed_gif_file.file, reversed_gif_file.type,
File "/home/pmdevita/bots/gifreversingbot/core/hosts/gfycat.py", line 331, in upload
id = cls.API.upload(file, gif_type, nsfw=nsfw, audio=audio)
File "/home/pmdevita/bots/gifreversingbot/core/hosts/gfycat.py", line 203, in upload
r = requests.get(url, headers=headers)
File "/home/pmdevita/.local/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/home/pmdevita/.local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/pmdevita/.local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/pmdevita/.local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/pmdevita/.local/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.gfycat.com', port=443): Max retries exceeded with url: /v1/gfycats/fetch/status/DistantImaginaryArcticwolf (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f14a38a0f40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
from gifreversingbot.
Related Issues (20)
- Gfycat sometimes doesn't hand back json for the ticket get HOT 3
- Gfycat upload edgecase
- Reddit video missing crash HOT 2
- Another Imgur 400 HOT 1
- comment deleted before reply
- Large video files require too much RAM to be processed
- Misread FPS HOT 1
- New Gfycat Error
- Wait for rate limit error amount of time
- Reddit videos mistakenly marked as deleted HOT 1
- Wrong gif returned HOT 1
- Gfycat sometimes redirects to Redgifs for SFW gifs HOT 1
- Handle 400/500 on directly linked gifs
- Reupload feature broken HOT 1
- Incorrect FPS used for reversal
- Imgur - mp4 or gifv links?
- Better job queueing system
- Invalid user error
- Is the Bot dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gifreversingbot.