Closed FilipAndersson245 closed 1 year ago
Can't reproduce, used the same command and it worked fine for me Are you sure you are on the latest version?
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?
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 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.
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
My output is this.
(w/o the --force-reinstall argument) I asked what the output is without the --force-reinstall
Ops did not see, this is the output without --force-reinstall, it seem to be successful then
Does that same episode play for you in your browser? https://twist.moe/a/shingeki-no-kyojin-the-final-season/9
Also, you can try installing wget
and use the -xd "{wget}"
does the download still fail?
you should also try connecting to a VPN
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
That's weird, I really can't tell whats going wrong... Maybe a problem with your internet?
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 untilCN
hits zero. I tested if changing chunk-size to 1 would help but it did not seem to help.To reproduce
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: