peskypotato / grabit Goto Github PK
View Code? Open in Web Editor NEWDownload images, gifs and text posts from Reddit
License: MIT License
Download images, gifs and text posts from Reddit
License: MIT License
Traceback (most recent call last):
File "user/GrabIt/RedditGrabber.py", line 183, in <module>
main(parser)
File "user/GrabIt/RedditGrabber.py", line 125, in main
feeder(subR, parser)
File "user/GrabIt/RedditGrabber.py", line 83, in feeder
submission_queue = Reddit(subR, parser).queue()
File "user/GrabIt/resources/interfaces/reddit.py", line 65, in queue
submissions = reddit.subreddit(self.subR).controversial(limit=int(posts), time_filter=self.parser.time_filter)
File "user.local/lib/python3.9/site-packages/praw/models/helpers.py", line 313, in __call__
return Subreddit(self._reddit, display_name=display_name)
File "user/.local/lib/python3.9/site-packages/praw/models/reddit/subreddit.py", line 561, in __init__
super().__init__(reddit, _data=_data)
File "user/.local/lib/python3.9/site-packages/praw/models/listing/mixins/subreddit.py", line 71, in __init__
super().__init__(reddit, _data=_data)
File "user/.local/lib/python3.9/site-packages/praw/models/reddit/base.py", line 65, in __init__
raise ValueError(
ValueError: An invalid value was specified for display_name. Check that the argument for the display_name parameter is not empty.
praw package is outdated error code:
Version 7.5.0 of praw is outdated. Version 7.6.0 was released 1 day ago
May be due to ratelimiting, didn't happen until last month.
Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.5/http/client.py", line 1106, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/usr/lib/python3.5/http/client.py", line 1252, in connect
super().connect()
File "/usr/lib/python3.5/http/client.py", line 849, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/usr/lib/python3.5/socket.py", line 711, in create_connection
raise err
File "/usr/lib/python3.5/socket.py", line 702, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "RedditGrabber.py", line 165, in <module>
main(subR, posts)
File "RedditGrabber.py", line 115, in main
grabber(subR, direct, posts)
File "RedditGrabber.py", line 65, in grabber
saveAlbum(albumId, str(submission.author), str(submission.subreddit), title, direct)
File "/home/boxy/Documents/RedditImageBackup/handlers/ImgurDownloader2.py", line 53, in saveAlbu$
urllib.request.urlretrieve(image.link, os.path.join(folder, "(" + str(counter) + ") " + str(im$ge.id) + type))
File "/usr/lib/python3.5/urllib/request.py", line 188, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 110] Connection timed out>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.