Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't connect to the m3u8 file download link... #45

Closed
devyokan opened this issue Mar 22, 2018 · 3 comments
Closed

Couldn't connect to the m3u8 file download link... #45

devyokan opened this issue Mar 22, 2018 · 3 comments
Labels

Comments

@devyokan
Copy link

devyokan commented Mar 22, 2018

[root@dattskulls anime_dl]# ./__main__.py -i http://www.crunchyroll.com/death-march-to-the-parallel-world-rhapsody/episode-11-the-fantasy-conspiracy-that-started-with-a-death-march-759569 -u XXXX -p XXXXX -r 720 -l ptBR --verbose
Trying to login...
Logged in successfully...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].enUS.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].esLA.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].frFR.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].arME.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].itIT.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].deDE.ass ...
Downloading Death March To The Parallel World Rhapsody - 11 [1280x720].ruRU.ass ...
Couldn't connect to the m3u8 file download link...
[Errno 2] No such file or directory]

"verbose" dump:

DEBUG: You have successfully set the Debugging On.
DEBUG: Arguments Provided : Namespace(input=['http://www.crunchyroll.com/death-march-to-the-parallel-world-rhapsody/episode-11-the-fantasy-conspiracy-that-started-with-a-death-march-759569'], language=['pt'], password=['XXXX'], range='All', resolution=['720'], skip=False, username=['XXXX'], verbose=True, version=False)
DEBUG: Operating System : Linux - 2.6.32-696.3.1.el6.x86_64 - #1 SMP Tue May 30 19:52:55 UTC 2017
DEBUG: Python Version : 2.7.13 (64bit)
DEBUG: Starting new HTTPS connection (1): www.crunchyroll.com
DEBUG: https://www.crunchyroll.com:443 "GET /login HTTP/1.1" 503 None
DEBUG: Resetting dropped connection: www.crunchyroll.com
DEBUG: https://www.crunchyroll.com:443 "GET /cdn-cgi/l/chk_jschl?jschl_answer=22230766&jschl_vc=61d45eb3f9865891d3512937b192158e&pass=1521737532.783-Min57%2BKaAO HTTP/1.1" 302 159
DEBUG: https://www.crunchyroll.com:443 "GET /login HTTP/1.1" 200 None
DEBUG: https://www.crunchyroll.com:443 "POST /login HTTP/1.1" 302 None
DEBUG: https://www.crunchyroll.com:443 "GET / HTTP/1.1" 200 None
DEBUG: Starting new HTTP connection (1): www.crunchyroll.com
DEBUG: http://www.crunchyroll.com:80 "GET /death-march-to-the-parallel-world-rhapsody/episode-11-the-fantasy-conspiracy-that-started-with-a-death-march-759569 HTTP/1.1" 200 None
DEBUG: video_id : 759569
DEBUG: info_url : http://www.crunchyroll.com/xml/?req=RpcApiVideoPlayer_GetStandardConfig&media_id=759569&video_format=106&video_quality=62&current_page=http://www.crunchyroll.com/death-march-to-the-parallel-world-rhapsody/episode-11-the-fantasy-conspiracy-that-started-with-a-death-march-759569
DEBUG: Starting new HTTP connection (1): www.crunchyroll.com
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiVideoPlayer_GetStandardConfig&media_id=759569&video_format=106&video_quality=62&current_page=http://www.crunchyroll.com/death-march-to-the-parallel-world-rhapsody/episode-11-the-fantasy-conspiracy-that-started-with-a-death-march-759569 HTTP/1.1" 200 None
DEBUG: m3u8_file_link : https://dl.v.vrv.co/evs/b5913a2210d2aba844399771a565bd46/assets/5e8e4c6599d73aa177a03b053034f775_3433708.mp4/master.m3u8?Policy=ewoiU3RhdGVtZW50IjpbCnsKIlJlc291cmNlIjoiaHR0cCo6Ly9kbC52LnZydi5jby9ldnMvYjU5MTNhMjIxMGQyYWJhODQ0Mzk5NzcxYTU2NWJkNDYvYXNzZXRzLzVlOGU0YzY1OTlkNzNhYTE3N2EwM2IwNTMwMzRmNzc1XzM0MzM3MDgubXA0L21hc3Rlci5tM3U4IiwKIkNvbmRpdGlvbiI6ewoiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1MjE5MTAyOTh9Cn0KfQpdCn0_&Signature=hmMllW3ufEMHTtgJWNCMtoI3-~zM8lIrpThyV0UxvYv5lfvBEWygEN9e9f3pYCy11s3Ktz3UHNiBZKRktfM0QGAW4ZDdiKO6k0NVg0M1NrdXj3FMnNXbdo2bFIe6dHNWqWK6R9ZHNEkAlgjOEW8P4jMc-IMb4irO4lwc6U1WBXCMIXxUSqg2LRcxbbt8YBHZFUn07u8IgY50t-uGWEoji2yVtgnobtcSOGcDBTrPLb~TEolhHKxcr-Lt5GIdd~gKDE5t-9zBzYuaLE9d5onPRmoAGzTctF9eUbZQo3ZgvYdRba6Z84bqdoIcG-oVLD7Sv8FykEDeTbADjKMfjW91HQ__&Key-Pair-Id=DLVR
DEBUG: anime_name : Death March to the Parallel World Rhapsody
DEBUG: episode_number : 11
DEBUG: video_resolution : 1280x720
DEBUG: file_name : Death March To The Parallel World Rhapsody - 11 [1280x720].mp4
DEBUG:
----- Subs Downloading Started -----

DEBUG: Starting new HTTP connection (1): www.crunchyroll.com
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312743 HTTP/1.1" 200 None
DEBUG: iv : sbW3RPT9fouSe/Hr42qfbw==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312771 HTTP/1.1" 200 None
DEBUG: iv : sd1NbK7siHJVyLa28ePGcg==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312755 HTTP/1.1" 200 None
DEBUG: iv : VprDDOtzK/5ZrgibVr1a1g==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312737 HTTP/1.1" 200 None
DEBUG: iv : YS/+/COlwyc2Ohn5cqkD5Q==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312739 HTTP/1.1" 200 None
DEBUG: iv : ZO0IglIGrLvqChitB7AuPA==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312767 HTTP/1.1" 200 None
DEBUG: iv : GnM+TjsnUT009gz8U8VUlQ==
DEBUG: http://www.crunchyroll.com:80 "GET /xml/?req=RpcApiSubtitle_GetXml&subtitle_script_id=312777 HTTP/1.1" 200 None
DEBUG: iv : cvDwxJwJs7QIBTC/wxvCVQ==
DEBUG:
----- Subs Downloaded -----

DEBUG: Starting new HTTPS connection (1): dl.v.vrv.co
DEBUG: https://dl.v.vrv.co:443 "GET /evs/b5913a2210d2aba844399771a565bd46/assets/5e8e4c6599d73aa177a03b053034f775_3433708.mp4/master.m3u8?Policy=ewoiU3RhdGVtZW50IjpbCnsKIlJlc291cmNlIjoiaHR0cCo6Ly9kbC52LnZydi5jby9ldnMvYjU5MTNhMjIxMGQyYWJhODQ0Mzk5NzcxYTU2NWJkNDYvYXNzZXRzLzVlOGU0YzY1OTlkNzNhYTE3N2EwM2IwNTMwMzRmNzc1XzM0MzM3MDgubXA0L21hc3Rlci5tM3U4IiwKIkNvbmRpdGlvbiI6ewoiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1MjE5MTAyOTh9Cn0KfQpdCn0_&Signature=hmMllW3ufEMHTtgJWNCMtoI3-~zM8lIrpThyV0UxvYv5lfvBEWygEN9e9f3pYCy11s3Ktz3UHNiBZKRktfM0QGAW4ZDdiKO6k0NVg0M1NrdXj3FMnNXbdo2bFIe6dHNWqWK6R9ZHNEkAlgjOEW8P4jMc-IMb4irO4lwc6U1WBXCMIXxUSqg2LRcxbbt8YBHZFUn07u8IgY50t-uGWEoji2yVtgnobtcSOGcDBTrPLb~TEolhHKxcr-Lt5GIdd~gKDE5t-9zBzYuaLE9d5onPRmoAGzTctF9eUbZQo3ZgvYdRba6Z84bqdoIcG-oVLD7Sv8FykEDeTbADjKMfjW91HQ__&Key-Pair-Id=DLVR HTTP/1.1" 200 None
DEBUG: m3u8_file_text : https://comcast-hls-media-vod-ellation.vip1-iad1.dlvr1.net/663734b6-2df1-11e8-8086-6971bcd41d8c/evs/b5913a2210d2aba844399771a565bd46/assets/5e8e4c6599d73aa177a03b053034f775_3433708.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jb21jYXN0LWhscy1tZWRpYS12b2QtZWxsYXRpb24udmlwMS1pYWQxLmRsdnIxLm5ldC82NjM3MzRiNi0yZGYxLTExZTgtODA4Ni02OTcxYmNkNDFkOGMvZXZzL2I1OTEzYTIyMTBkMmFiYTg0NDM5OTc3MWE1NjViZDQ2L2Fzc2V0cy8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTIxOTEwMjk4fX19XX0_&Signature=KqHbKpEMuGpaCoXOre8iq33kWk06P3P4keL-qzmQDXbwS4MqQzxdPKluuwbh-ifQGjwhI3vLXXs0iZAAaLFkVcomOftw2~jR3fvRpsvaKc~JO3wqvvU-ornQR-MLu-Vyf29aH5US~n-DPvURH9cRwwrb4l8~F5bovF6Hni070afS4Y~GyESifWXr3dlrhQEjZ1piFcUe3kUpocKoYRPpP3RSgN3ZTIXGTV79krw1w2OTfp0yhVoSZENX1BcVIa0kxcEzYv1hhIRii-MVB1VD4SGXJDl1s0VhNnT6N3VQSUbM1Tg9txBtU0-o-MlVlfIHPqBPDrMgxVyi~-JMBf0nHA__&Key-Pair-Id=DLVR
DEBUG: ffmpeg_command : ffmpeg -i "https://comcast-hls-media-vod-ellation.vip1-iad1.dlvr1.net/663734b6-2df1-11e8-8086-6971bcd41d8c/evs/b5913a2210d2aba844399771a565bd46/assets/5e8e4c6599d73aa177a03b053034f775_3433708.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jb21jYXN0LWhscy1tZWRpYS12b2QtZWxsYXRpb24udmlwMS1pYWQxLmRsdnIxLm5ldC82NjM3MzRiNi0yZGYxLTExZTgtODA4Ni02OTcxYmNkNDFkOGMvZXZzL2I1OTEzYTIyMTBkMmFiYTg0NDM5OTc3MWE1NjViZDQ2L2Fzc2V0cy8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNTIxOTEwMjk4fX19XX0_&Signature=KqHbKpEMuGpaCoXOre8iq33kWk06P3P4keL-qzmQDXbwS4MqQzxdPKluuwbh-ifQGjwhI3vLXXs0iZAAaLFkVcomOftw2~jR3fvRpsvaKc~JO3wqvvU-ornQR-MLu-Vyf29aH5US~n-DPvURH9cRwwrb4l8~F5bovF6Hni070afS4Y~GyESifWXr3dlrhQEjZ1piFcUe3kUpocKoYRPpP3RSgN3ZTIXGTV79krw1w2OTfp0yhVoSZENX1BcVIa0kxcEzYv1hhIRii-MVB1VD4SGXJDl1s0VhNnT6N3VQSUbM1Tg9txBtU0-o-MlVlfIHPqBPDrMgxVyi~-JMBf0nHA__&Key-Pair-Id=DLVR" -c copy -bsf:a aac_adtstoasc "/anime-dl-master/anime_dl/Death March To The Parallel World Rhapsody - 11 [1280x720].mp4"

I'm using CentOS 6.8.

Leveraging, how do I download the ptBR caption? they all come together...

Thanks and sorry about my english...

@RichardsRobinR
Copy link

i am also facing the same issue on windows 10

@devyokan
Copy link
Author

devyokan commented Mar 23, 2018

i'm using centos 6.8

@monoclex
Copy link
Contributor

monoclex commented Mar 24, 2018

I have this same issue. What fixed it for me, was that the subprocess.call(ffmpeg_command) seemed to fail. Change that to subprocess.call(ffmpeg_command, shell=True) and that fixed it for me somehow. Your mileage may vary.

I should mention, I also gave a direct link to ffmpeg ( /usr/bin/ffmpeg ) and also specified a direct output, though not sure if that would help at all since I could run ffmpeg from anywhere already and it already had the directory right.

@Xonshiz Xonshiz added the bug label Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants