Repository: Serene-Arc/bulk-downloader-for-reddit

Issue #914: the script stopped working after months of using it perfectly on a daily basis [BUG]
Created: 2023-07-13T22:06:24Z
I am reporting a bug.
 I am running the latest version of BDfR
 I have read the Opening an issue

Description
I have been using this project every day for months without any problems and now it no longer works.
Command
bdfr download D:\Videos --opts fortnite.yaml
Environment (please complete the following information)

OS:  Windows 11

Logs
D:\Videos>bdfr download D:\Videos --opts fortnite.yaml
Traceback (most recent call last):
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\Scripts\bdfr.exe_main.py", line 7, in
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr_main.py", line 117, in cli_download
reddit_downloader = RedditDownloader(config, [stream])
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\downloader.py", line 41, in init
super(RedditDownloader, self).init(args, logging_handlers)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 65, in init self.reddit_lists = self.retrieve_reddit_lists()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 168, in retrieve_reddit_lists
master_list.extend(self.get_subreddits())
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 276, in get_subreddits
self.check_subreddit_status(reddit)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 438, in check_subreddit_status
assert subreddit.id
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\base.py", line 35, in getattr
self._fetch()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\subreddit.py", line 827, in _fetch
data = self._fetch_data()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\base.py", line 89, in _fetch_data
return self._reddit.request(method="GET", params=params, path=path)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\util\deprecate_args.py", line 43, in wrapped
return func(**dict(zip(_old_args, args)), **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\reddit.py", line 941, in request
return self._core.request(
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\prawcore\sessions.py", line 330, in request
return self._request_with_retries(
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\prawcore\sessions.py", line 266, in _request_with_retries
raise self.STATUS_EXCEPTIONSresponse.status_code
prawcore.exceptions.TooManyRequests: received 429 HTTP response

Duplicate issue #913: the script stopped working after months of using it perfectly on a daily basis [BUG]
Created: 2023-07-13T22:01:55Z
I am reporting a bug.
 I am running the latest version of BDfR
 I have read the Opening an issue

Description
I have been using this project every day for months without any problems and now it no longer works.
Command
bdfr download D:\Videos --opts fortnite.yaml
Environment (please complete the following information)

OS:  Windows 11

Logs
D:\Videos>bdfr download D:\Videos --opts fortnite.yaml
Traceback (most recent call last):
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\Scripts\bdfr.exe_main.py", line 7, in
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr_main.py", line 117, in cli_download
reddit_downloader = RedditDownloader(config, [stream])
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\downloader.py", line 41, in init
super(RedditDownloader, self).init(args, logging_handlers)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 65, in init self.reddit_lists = self.retrieve_reddit_lists()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 168, in retrieve_reddit_lists
master_list.extend(self.get_subreddits())
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 276, in get_subreddits
self.check_subreddit_status(reddit)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\bdfr\connector.py", line 438, in check_subreddit_status
assert subreddit.id
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\base.py", line 35, in getattr
self._fetch()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\subreddit.py", line 827, in _fetch
data = self._fetch_data()
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\models\reddit\base.py", line 89, in _fetch_data
return self._reddit.request(method="GET", params=params, path=path)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\util\deprecate_args.py", line 43, in wrapped
return func(**dict(zip(_old_args, args)), **kwargs)
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\praw\reddit.py", line 941, in request
return self._core.request(
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\prawcore\sessions.py", line 330, in request
return self._request_with_retries(
File "C:\Users\rootf\AppData\Local\Programs\Python\Python39\lib\site-packages\prawcore\sessions.py", line 266, in _request_with_retries
raise self.STATUS_EXCEPTIONSresponse.status_code
prawcore.exceptions.TooManyRequests: received 429 HTTP response

Closing comment (2023-07-14T03:09:50Z): Duplicate of #914