You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (please complete the following information)
OS: [Windows 10]
Python version: [3.11.4]
Logs
`[2023-07-03 19:02:22,858 - bdfr.downloader - DEBUG] - Attempting to download submission 14k3bi4
[2023-07-03 19:02:22,858 - bdfr.downloader - DEBUG] - Using Direct with url https://i.redd.it/zg3g1db2nh8b1.jpg
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - File C:\Users*\Reddit_Profiles\PLASTTv2\2023-06-26T222742_Lets watch porn on my flat screen mirror_Rinnkuun_14k3bi4.jpg from submission 14k3bi4 already exists, continuing
[2023-07-03 19:02:22,859 - bdfr.downloader - INFO] - Downloaded submission 14k3bi4 from PLASTTv2
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - Attempting to download submission 14jrb1i
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - Using Imgur with url https://i.imgur.com/U8jdNQ8.gifv
[2023-07-03 19:02:23,068 - bdfr.downloader - ERROR] - Site Imgur failed to download submission 14jrb1i: Server responded with 404 to https://api.imgur.com/3/image/U8jdNQ8
[2023-07-03 19:02:23,070 - bdfr.downloader - DEBUG] - Attempting to download submission 14jnwn5
[2023-07-03 19:02:23,071 - bdfr.downloader - DEBUG] - Using Redgifs with url https://www.redgifs.com/watch/shysplendidkookaburra
[2023-07-03 19:03:27,383 - root - ERROR] - Downloader exited unexpectedly
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 200, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
raise new_e
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 604, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 209, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 844, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Users*****\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='thumbs46.redgifs.com', port=443): Max retries exceeded with url: /ShySplendidKookaburra.mp4?expires=1688518800&signature=v2:0e8beca7d5a5e82c8fa2261fe964f1b98f8824fe540abe9a0b64bf3b2d945800&for=2806:2f0:7280:ffa9&hash=6163438793 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr_main_.py", line 118, in cli_download
reddit_downloader.download()
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\downloader.py", line 50, in download
self._download_submission(submission)
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\downloader.py", line 107, in _download_submission
content = downloader.find_resources(self.authenticator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\site_downloaders\redgifs.py", line 22, in find_resources
media_urls = self._get_link(self.post.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\site_downloaders\redgifs.py", line 65, in _get_link
if requests.get(response_json["gif"]["urls"]["hd"], headers=headers).ok:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\adapters.py", line 507, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='thumbs46.redgifs.com', port=443): Max retries exceeded with url: /ShySplendidKookaburra.mp4?expires=1688518800&signature=v2:0e8beca7d5a5e82c8fa2261fe964f1b98f8824fe540abe9a0b64bf3b2d945800&for=2806:2f0:7280:ffa9&hash=6163438793 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)'))
`
The text was updated successfully, but these errors were encountered:
Description
I use this command to download some pics and vids due the filename format but lately seems not download properly the files
Command
python -m bdfr download ./Reddit_Profiles --folder-scheme {SUBREDDIT} --file-scheme {DATE}_{TITLE}_{REDDITOR}_{POSTID} --submitted --subreddit PLASTTv2
Environment (please complete the following information)
Logs
`[2023-07-03 19:02:22,858 - bdfr.downloader - DEBUG] - Attempting to download submission 14k3bi4
[2023-07-03 19:02:22,858 - bdfr.downloader - DEBUG] - Using Direct with url https://i.redd.it/zg3g1db2nh8b1.jpg
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - File C:\Users*\Reddit_Profiles\PLASTTv2\2023-06-26T222742_Lets watch porn on my flat screen mirror_Rinnkuun_14k3bi4.jpg from submission 14k3bi4 already exists, continuing
[2023-07-03 19:02:22,859 - bdfr.downloader - INFO] - Downloaded submission 14k3bi4 from PLASTTv2
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - Attempting to download submission 14jrb1i
[2023-07-03 19:02:22,859 - bdfr.downloader - DEBUG] - Using Imgur with url https://i.imgur.com/U8jdNQ8.gifv
[2023-07-03 19:02:23,068 - bdfr.downloader - ERROR] - Site Imgur failed to download submission 14jrb1i: Server responded with 404 to https://api.imgur.com/3/image/U8jdNQ8
[2023-07-03 19:02:23,070 - bdfr.downloader - DEBUG] - Attempting to download submission 14jnwn5
[2023-07-03 19:02:23,071 - bdfr.downloader - DEBUG] - Using Redgifs with url https://www.redgifs.com/watch/shysplendidkookaburra
[2023-07-03 19:03:27,383 - root - ERROR] - Downloader exited unexpectedly
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 200, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] Se produjo un error durante el intento de conexión ya que la parte conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conexión establecida ya que el host conectado no ha podido responder
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request
raise new_e
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 604, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connection.py", line 209, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\connectionpool.py", line 844, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "C:\Users*****\AppData\Local\Programs\Python\Python311\Lib\site-packages\urllib3\util\retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='thumbs46.redgifs.com', port=443): Max retries exceeded with url: /ShySplendidKookaburra.mp4?expires=1688518800&signature=v2:0e8beca7d5a5e82c8fa2261fe964f1b98f8824fe540abe9a0b64bf3b2d945800&for=2806:2f0:7280:ffa9&hash=6163438793 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr_main_.py", line 118, in cli_download
reddit_downloader.download()
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\downloader.py", line 50, in download
self._download_submission(submission)
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\downloader.py", line 107, in _download_submission
content = downloader.find_resources(self.authenticator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\site_downloaders\redgifs.py", line 22, in find_resources
media_urls = self._get_link(self.post.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\bdfr\site_downloaders\redgifs.py", line 65, in _get_link
if requests.get(response_json["gif"]["urls"]["hd"], headers=headers).ok:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users*\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\adapters.py", line 507, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='thumbs46.redgifs.com', port=443): Max retries exceeded with url: /ShySplendidKookaburra.mp4?expires=1688518800&signature=v2:0e8beca7d5a5e82c8fa2261fe964f1b98f8824fe540abe9a0b64bf3b2d945800&for=2806:2f0:7280:ffa9&hash=6163438793 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001B9A36A68D0>, 'Connection to thumbs46.redgifs.com timed out. (connect timeout=None)'))
`
The text was updated successfully, but these errors were encountered: