anime-dl / anime-downloader

A simple but powerful anime downloader and streamer.
The Unlicense
1.92k stars 218 forks source link

Error: An existing connection was forcibly closed by the remote host #621

Closed FilipAndersson245 closed 1 year ago

FilipAndersson245 commented 3 years ago

Describe the bug

When trying to download connections are seemingly closed by the host slowly killing the connection making the program exit without finishing the download Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. is the error that is repeated until CN hits zero. I tested if changing chunk-size to 1 would help but it did not seem to help.

To reproduce

anime dl hingeki-no-kyojin-the-final-season -e 9 --chunk-size 1 -p twist.moe
LOG ``` ▶ anime -ll DEBUG dl hingeki-no-kyojin-the-final-season -e 9 --chunk-size 1 -p twist.moe 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.util[25416] INFO anime-downloader 5.0.7 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG Platform: Windows-10-10.0.19041-SP0 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG Python 3.8.3 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG ----- 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG GET https://twist.moe/api/anime 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG {} 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG {'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.46 Safari/537.36', 'x-access-token': '0df14814b9e590a1f26d3071a4ed7974'} 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG ----- 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.session[25416] DEBUG cached request 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG https://api.twist.moe/api/anime 2021-02-08 08:31:37 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG C:\Users\Filip\AppData\Local\Temp\animedl51ul3g9h\tmplg7oghqq +--------+----------------------------------------------------------+--------+ | 5 | Hidan no Aria | | | 4 | Ano Hi Mita Hana no Namae wo Bokutachi wa Mada Shiranai. | | | 3 | Akuma no Riddle | | | 2 | Toaru Majutsu no Index | | | 1 | Shingeki no Kyojin The Final Season | | |--------+----------------------------------------------------------+--------| | SlNo | Title | Meta | +--------+----------------------------------------------------------+--------+ Enter the anime no: [1]: 1 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.util[25416] INFO Selected Shingeki no Kyojin The Final Season 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.anime[25416] INFO Extracting episode info from page 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG ----- 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG GET https://twist.moe/api/anime/shingeki-no-kyojin-the-final-season/sources 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG {} 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG {'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.46 Safari/537.36', 'x-access-token': '0df14814b9e590a1f26d3071a4ed7974'} 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG ----- 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.session[25416] DEBUG cached request 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG https://api.twist.moe/api/anime/shingeki-no-kyojin-the-final-season/sources 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.helpers.request[25416] DEBUG C:\Users\Filip\AppData\Local\Temp\animedl51ul3g9h\tmpp9a_g466 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.commands.dl[25416] INFO Found anime: shingeki-no-kyojin-the-final-season INFO:anime_downloader.commands.dl:Found anime: shingeki-no-kyojin-the-final-season 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.anime[25416] DEBUG Extracting stream info of id: https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4 DEBUG:anime_downloader.sites.anime:Extracting stream info of id: https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.sites.anime[25416] DEBUG Sources : [('no_extractor', 'https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4')] DEBUG:anime_downloader.sites.anime:Sources : [('no_extractor', 'https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4')] 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.commands.dl[25416] INFO Downloading to E:\programming\anime-downloader INFO:anime_downloader.commands.dl:Downloading to E:\programming\anime-downloader 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG cmd: {aria2} DEBUG:anime_downloader.util:cmd: {aria2} 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG episode: DEBUG:anime_downloader.util:episode: 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG file format: {anime_title}/{anime_title}_{ep_no} DEBUG:anime_downloader.util:file format: {anime_title}/{anime_title}_{ep_no} 2021-02-08 08:31:58 DESKTOP-4TGPFL7 anime_downloader.util[25416] DEBUG formatted cmd: aria2c https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4 -x 12 -s 12 -j 12 -k 10M -o shingeki-no-kyojin-the-final-season/shingeki-no-kyojin-the-final-season_9.mp4 --continue=true --dir=E:\programming\anime-downloader --stream-piece-selector=inorder --min-split-size=5M --referer=https://twist.moe/a/shingeki-no-kyojin-the-final-season/9 --check-certificate=false --user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 --max-overall-download-limit=0 --console-log-level=error DEBUG:anime_downloader.util:formatted cmd: aria2c https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease] Shingeki no Kyojin (The Final Season) - 68 (1080p) [C986DF88].mp4 -x 12 -s 12 -j 12 -k 10M -o shingeki-no-kyojin-the-final-season/shingeki-no-kyojin-the-final-season_9.mp4 --continue=true --dir=E:\programming\anime-downloader --stream-piece-selector=inorder --min-split-size=5M --referer=https://twist.moe/a/shingeki-no-kyojin-the-final-season/9 --check-certificate=false --user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 --max-overall-download-limit=0 --console-log-level=error *** Download Progress Summary as of Mon Feb 08 08:32:59 2021 *** ========================================================================================================================================================================== [#a67cdf 232MiB/453MiB(51%) CN:12 DL:453KiB ETA:8m18s] FILE: E:/programming/anime-downloader/shingeki-no-kyojin-the-final-season/shingeki-no-kyojin-the-final-season_9.mp4 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [#a67cdf 239MiB/453MiB(52%) CN:12 DL:444KiB ETA:8m14s] 02/08 08:33:16 [ERROR] CUID#12 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 245MiB/453MiB(54%) CN:11 DL:449KiB ETA:7m53s] 02/08 08:33:29 [ERROR] CUID#9 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 248MiB/453MiB(54%) CN:10 DL:382KiB ETA:9m8s] 02/08 08:33:36 [ERROR] CUID#10 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) *** Download Progress Summary as of Mon Feb 08 08:33:59 2021 *** ========================================================================================================================================================================== [#a67cdf 260MiB/453MiB(57%) CN:9 DL:491KiB ETA:6m42s] FILE: E:/programming/anime-downloader/shingeki-no-kyojin-the-final-season/shingeki-no-kyojin-the-final-season_9.mp4 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [#a67cdf 264MiB/453MiB(58%) CN:9 DL:457KiB ETA:7m3s] 02/08 08:34:09 [ERROR] CUID#11 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 269MiB/453MiB(59%) CN:8 DL:437KiB ETA:7m10s] 02/08 08:34:22 [ERROR] CUID#19 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) 02/08 08:34:22 [ERROR] CUID#8 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 282MiB/453MiB(62%) CN:6 DL:531KiB ETA:5m29s] 02/08 08:34:46 [ERROR] CUID#18 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 286MiB/453MiB(63%) CN:5 DL:294KiB ETA:9m40s] 02/08 08:34:58 [ERROR] CUID#13 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) *** Download Progress Summary as of Mon Feb 08 08:35:00 2021 *** ========================================================================================================================================================================== [#a67cdf 287MiB/453MiB(63%) CN:4 DL:307KiB ETA:9m13s] FILE: E:/programming/anime-downloader/shingeki-no-kyojin-the-final-season/shingeki-no-kyojin-the-final-season_9.mp4 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [#a67cdf 287MiB/453MiB(63%) CN:4 DL:200KiB ETA:14m6s] 02/08 08:35:03 [ERROR] CUID#14 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 289MiB/453MiB(63%) CN:3 DL:254KiB ETA:11m] 02/08 08:35:08 [ERROR] CUID#17 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) [#a67cdf 295MiB/453MiB(65%) CN:2 DL:342KiB ETA:7m51s] 02/08 08:35:28 [ERROR] CUID#16 - Download aborted. URI=https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2068%20(1080p)%20[C986DF88].mp4 Exception: [SocketCore.cc:886] errorCode=1 Failed to receive data, cause: Error: An existing connection was forcibly closed by the remote host. (2746) ```
ArjixWasTaken commented 3 years ago

Can't reproduce, used the same command and it worked fine for me Are you sure you are on the latest version?

FilipAndersson245 commented 3 years ago

I belie i am on the latest version i ran pip3 install -U git+https://github.com/vn-ki/anime-downloader.git before running it again today and the same error still occurs. Do not know if my low download bandwidth make this occur?

ArjixWasTaken commented 3 years ago

When you are updating, can you try also using the --force-reinstall argument?

pip3 install -U --force-reinstall git+https://github.com/vn-ki/anime-downloader
FilipAndersson245 commented 3 years ago

When you are updating, can you try also using the --force-reinstall argument?

pip3 install -U --force-reinstall git+https://github.com/vn-ki/anime-downloader

when i ran this command i got

ERROR: Cannot uninstall 'pyreadline'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
ArjixWasTaken commented 3 years ago

when you update (w/o the --force-reinstall argument) does it say:

Successfully installed anime-downloader-5.0.7

?

if it does not say that, then it fails to update

FilipAndersson245 commented 3 years ago

My output is this.

LOG ``` ▶ pip install -U --force-reinstall git+https://github.com/vn-ki/anime-downloader.git Collecting git+https://github.com/vn-ki/anime-downloader.git Cloning https://github.com/vn-ki/anime-downloader.git to c:\users\filip\appdata\local\temp\pip-req-build-w896o77y Running command git clone -q https://github.com/vn-ki/anime-downloader.git 'C:\Users\Filip\AppData\Local\Temp\pip-req-build-w896o77y' Collecting pySmartDL>=1.3.4 Using cached pySmartDL-1.3.4-py3-none-any.whl (20 kB) Collecting beautifulsoup4>=4.6.0 Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB) Collecting requests>=2.18.4 Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting Click>=6.7 Using cached click-7.1.2-py2.py3-none-any.whl (82 kB) Collecting fuzzywuzzy>=0.17.0 Using cached fuzzywuzzy-0.18.0-py2.py3-none-any.whl (18 kB) Collecting coloredlogs>=10.0 Using cached coloredlogs-15.0-py2.py3-none-any.whl (45 kB) Collecting cfscrape>=2.0.5 Using cached cfscrape-2.1.1-py3-none-any.whl (12 kB) Collecting requests-cache>=0.4.13 Using cached requests_cache-0.5.2-py2.py3-none-any.whl (22 kB) Collecting tabulate>=0.8.3 Using cached tabulate-0.8.7-py3-none-any.whl (24 kB) Collecting pycryptodome>=3.8.2 Using cached pycryptodome-3.10.1-cp35-abi3-win_amd64.whl (1.6 MB) Collecting soupsieve>1.2; python_version >= "3.0" Using cached soupsieve-2.2-py3-none-any.whl (33 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.3-py2.py3-none-any.whl (137 kB) Collecting chardet<5,>=3.0.2 Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting certifi>=2017.4.17 Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting idna<3,>=2.5 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-9.1-py2.py3-none-any.whl (86 kB) Processing c:\users\filip\appdata\local\pip\cache\wheels\0e\6e\9d\402aa64e362e59c7032231a2e6942e647a6c12508d2c77fc4d\pyreadline-2.1-py3-none-any.whl Building wheels for collected packages: anime-downloader Building wheel for anime-downloader (setup.py) ... done Created wheel for anime-downloader: filename=anime_downloader-5.0.7-py3-none-any.whl size=138137 sha256=44b7cb10d1fea901b96a68771d26384dba9c2c7ce07040cc41897115d7bef4a9 Stored in directory: C:\Users\Filip\AppData\Local\Temp\pip-ephem-wheel-cache-zebe4b_m\wheels\59\60\7e\a559411a7c5a9b421578203318e0955869f0b883e203f48de2 Successfully built anime-downloader ERROR: spyder 4.1.4 requires pyqt5<5.13; python_version >= "3", which is not installed. ERROR: spyder 4.1.4 requires pyqtwebengine<5.13; python_version >= "3", which is not installed. ERROR: panel 0.10.3 has requirement bokeh>=2.2.2, but you'll have bokeh 2.1.1 which is incompatible. Installing collected packages: pySmartDL, soupsieve, beautifulsoup4, urllib3, chardet, certifi, idna, requests, Click, fuzzywuzzy, pyreadline, humanfriendly, coloredlogs, cfscrape, requests-cache, tabulate, pycryptodome, anime-downloader Attempting uninstall: pySmartDL Found existing installation: pySmartDL 1.3.4 Uninstalling pySmartDL-1.3.4: Successfully uninstalled pySmartDL-1.3.4 Attempting uninstall: soupsieve Found existing installation: soupsieve 2.0.1 Uninstalling soupsieve-2.0.1: Successfully uninstalled soupsieve-2.0.1 Attempting uninstall: beautifulsoup4 Found existing installation: beautifulsoup4 4.9.1 Uninstalling beautifulsoup4-4.9.1: Successfully uninstalled beautifulsoup4-4.9.1 Attempting uninstall: urllib3 Found existing installation: urllib3 1.25.9 Uninstalling urllib3-1.25.9: Successfully uninstalled urllib3-1.25.9 Attempting uninstall: chardet Found existing installation: chardet 3.0.4 Uninstalling chardet-3.0.4: Successfully uninstalled chardet-3.0.4 Attempting uninstall: certifi Found existing installation: certifi 2020.6.20 Uninstalling certifi-2020.6.20: Successfully uninstalled certifi-2020.6.20 Attempting uninstall: idna Found existing installation: idna 2.10 Uninstalling idna-2.10: Successfully uninstalled idna-2.10 Attempting uninstall: requests Found existing installation: requests 2.24.0 Uninstalling requests-2.24.0: Successfully uninstalled requests-2.24.0 Attempting uninstall: Click Found existing installation: click 7.1.2 Uninstalling click-7.1.2: Successfully uninstalled click-7.1.2 Attempting uninstall: fuzzywuzzy Found existing installation: fuzzywuzzy 0.18.0 Uninstalling fuzzywuzzy-0.18.0: Successfully uninstalled fuzzywuzzy-0.18.0 Attempting uninstall: pyreadline Found existing installation: pyreadline 2.1 ERROR: Cannot uninstall 'pyreadline'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. E:\programming\anime-downloader  master ≣ +4 ~0 -0 ! ⚡ ⨯ 21 hours ago ▶ ```
ArjixWasTaken commented 3 years ago

(w/o the --force-reinstall argument) I asked what the output is without the --force-reinstall

FilipAndersson245 commented 3 years ago

Ops did not see, this is the output without --force-reinstall, it seem to be successful then

LOG ``` ▶ pip install -U git+https://github.com/vn-ki/anime-downloader.git Collecting git+https://github.com/vn-ki/anime-downloader.git Cloning https://github.com/vn-ki/anime-downloader.git to c:\users\filip\appdata\local\temp\pip-req-build-oen_2egc Running command git clone -q https://github.com/vn-ki/anime-downloader.git 'C:\Users\Filip\AppData\Local\Temp\pip-req-build-oen_2egc' Requirement already satisfied, skipping upgrade: pySmartDL>=1.3.4 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (1.3.4) Requirement already satisfied, skipping upgrade: beautifulsoup4>=4.6.0 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (4.9.3) Requirement already satisfied, skipping upgrade: requests>=2.18.4 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (2.25.1) Requirement already satisfied, skipping upgrade: Click>=6.7 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (7.1.2) Requirement already satisfied, skipping upgrade: fuzzywuzzy>=0.17.0 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (0.18.0) Requirement already satisfied, skipping upgrade: coloredlogs>=10.0 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (15.0) Requirement already satisfied, skipping upgrade: cfscrape>=2.0.5 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (2.1.1) Requirement already satisfied, skipping upgrade: requests-cache>=0.4.13 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (0.5.2) Requirement already satisfied, skipping upgrade: tabulate>=0.8.3 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (0.8.7) Requirement already satisfied, skipping upgrade: pycryptodome>=3.8.2 in c:\programdata\anaconda3\lib\site-packages (from anime-downloader==5.0.7) (3.9.9) Requirement already satisfied, skipping upgrade: soupsieve>1.2; python_version >= "3.0" in c:\programdata\anaconda3\lib\site-packages (from beautifulsoup4>=4.6.0->anime-downloader==5.0.7) (2.2) Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.18.4->anime-downloader==5.0.7) (2.10) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.18.4->anime-downloader==5.0.7) (2020.12.5) Requirement already satisfied, skipping upgrade: urllib3<1.27,>=1.21.1 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.18.4->anime-downloader==5.0.7) (1.26.3) Requirement already satisfied, skipping upgrade: chardet<5,>=3.0.2 in c:\programdata\anaconda3\lib\site-packages (from requests>=2.18.4->anime-downloader==5.0.7) (4.0.0) Requirement already satisfied, skipping upgrade: humanfriendly>=9.1 in c:\programdata\anaconda3\lib\site-packages (from coloredlogs>=10.0->anime-downloader==5.0.7) (9.1) Requirement already satisfied, skipping upgrade: pyreadline; sys_platform == "win32" in c:\programdata\anaconda3\lib\site-packages (from humanfriendly>=9.1->coloredlogs>=10.0->anime-downloader==5.0.7) (2.1) Building wheels for collected packages: anime-downloader Building wheel for anime-downloader (setup.py) ... done Created wheel for anime-downloader: filename=anime_downloader-5.0.7-py3-none-any.whl size=138137 sha256=74a5e727a2325f74a91f4a273ced8c6c6d232b8cf2c9cb72b105323f03aefd3c Stored in directory: C:\Users\Filip\AppData\Local\Temp\pip-ephem-wheel-cache-dmgriju3\wheels\59\60\7e\a559411a7c5a9b421578203318e0955869f0b883e203f48de2 Successfully built anime-downloader Installing collected packages: anime-downloader Attempting uninstall: anime-downloader Found existing installation: anime-downloader 5.0.7 Uninstalling anime-downloader-5.0.7: Successfully uninstalled anime-downloader-5.0.7 Successfully installed anime-downloader-5.0.7 E:\programming\anime-downloader  master ≣ +4 ~0 -0 ! ⚡ 23 hours ago ▶ ```
ArjixWasTaken commented 3 years ago

Does that same episode play for you in your browser? https://twist.moe/a/shingeki-no-kyojin-the-final-season/9

ArjixWasTaken commented 3 years ago

Also, you can try installing wget and use the -xd "{wget}" does the download still fail?

ArjixWasTaken commented 3 years ago

you should also try connecting to a VPN

FilipAndersson245 commented 3 years ago

It seem to work on the web-version, but somewhat slow as my internet is quite limited. i installed wget but it does not seem to work correctly

LOG ``` anime dl -xd "{wget}" shingeki-no-kyojin-the-final-season -e 3 anime: anime-downloader 5.0.7 +--------+-------------------------------------+--------+ | 5 | Toaru Majutsu no Index | | | 4 | Shingeki no Kyojin | | | 3 | Shingeki no Kyojin Season 3 | | | 2 | Shingeki no Kyojin Season 2 | | | 1 | Shingeki no Kyojin The Final Season | | |--------+-------------------------------------+--------| | SlNo | Title | Meta | +--------+-------------------------------------+--------+ Enter the anime no: [1]: 1 anime: Selected Shingeki no Kyojin The Final Season anime: Extracting episode info from page anime: Found anime: shingeki-no-kyojin-the-final-season INFO:anime_downloader.commands.dl:Found anime: shingeki-no-kyojin-the-final-season anime: Downloading to E:\programming\anime-downloader INFO:anime_downloader.commands.dl:Downloading to E:\programming\anime-downloader SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc Warning: wildcards not supported in HTTP. --2021-02-16 18:28:08-- https://cdn.twist.moe/anime/shingekinokyojins4/[SubsPlease]%20Shingeki%20no%20Kyojin%20(The%20Final%20Season)%20-%2062%20(1080p)%20[4BB87AB5].mp4 Resolving cdn.twist.moe... 185.83.214.240 Connecting to cdn.twist.moe|185.83.214.240|:443... connected. OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Unable to establish SSL connection. E:\programming\anime-downloader> ```
ArjixWasTaken commented 3 years ago

That's weird, I really can't tell whats going wrong... Maybe a problem with your internet?