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

Some videos downloads broken for Crunchy Roll #10789

Closed
majorcyto opened this issue Sep 28, 2016 · 2 comments
Closed

Some videos downloads broken for Crunchy Roll #10789

majorcyto opened this issue Sep 28, 2016 · 2 comments

Comments

@majorcyto
Copy link

@majorcyto majorcyto commented Sep 28, 2016

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.09.27

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-f', u'best[height=720]', u'--all-subs', u'--verbose', u'http://www.crunchyroll.com/mob-psycho-100']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.27
[debug] Python version 2.7.5 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: ffmpeg 2.6.8, ffprobe 2.6.8, rtmpdump 2.4
[debug] Proxy map: {}
[crunchyroll:playlist] Downloading login page
[crunchyroll:playlist] Logging in
[crunchyroll:playlist] mob-psycho-100: Downloading webpage
[download] Downloading playlist: Mob Psycho 100
[crunchyroll:playlist] playlist Mob Psycho 100: Collected 12 video ids (downloading 12 of them)
[download] Downloading video 1 of 12
[Crunchyroll] Downloading login page
[Crunchyroll] 715985: Downloading webpage
[Crunchyroll] 715985: Downloading media info for 360p
[Crunchyroll] 715985: Downloading media info for 480p
[Crunchyroll] 715985: Downloading media info for 720p
[Crunchyroll] 715985: Downloading media info for 1080p
[Crunchyroll] 715985: Downloading media info
[Crunchyroll] 715985: Downloading subtitles for English (US)
[Crunchyroll] 715985: Downloading subtitles for Español
[Crunchyroll] 715985: Downloading subtitles for Español (España)
[Crunchyroll] 715985: Downloading subtitles for Français (France)
[Crunchyroll] 715985: Downloading subtitles for Português (Brasil)
[Crunchyroll] 715985: Downloading subtitles for العربية
[Crunchyroll] 715985: Downloading subtitles for Italiano
[Crunchyroll] 715985: Downloading subtitles for Deutsch
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.esES.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.itIT.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.deDE.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.esLA.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.enUS.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.frFR.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.arME.ass
[info] Writing video subtitles to: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.ptBR.ass
[debug] Invoking downloader on u'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4'
[download] Destination: Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4' -o 'Mob Psycho 100 Episode 1 – Self-Proclaimed Psychic - Reigen Arataka ~And Mob~-715985.flv.part' --playpath mp4:c19/s/ve2279079/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host    : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: tcUrl    : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: app      : ondemand/?auth=daEdWaabVcNbrbFc6bwbQb5cvczbqagbZcb-bx69Mn-dHa-tADxssQBEvv&aifp=0009&slist=c19/s/ve2279079/video.mp4
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Last keyframe is first frame in stream, switching from resume to normal mode!
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
[rtmpdump] DEBUG: Closing connection.
ERROR: [rtmpdump] Could not connect to RTMP server.
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 449, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 439, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 866, in process_ie_result
    extra_info=extra)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 758, in process_ie_result
    extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 705, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 751, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1435, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 169, in real_download
    self.report_error('[rtmpdump] Could not connect to RTMP server.')
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 568, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Hi, this is interesting because some links do work while others do not. For instance this series...
http://www.crunchyroll.com/berserk
Downloads 100% fine. NO errors.

For this one...
http://www.crunchyroll.com/91-days
Everything downloads EXCEPT the most recent episode (Which is episode 11)

And for this one, NONE of them download it errors right away on the first one...
http://www.crunchyroll.com/mob-psycho-100

I DO have a premium account that i am logging in to. I am not sure why some of these work just fine and others don't?

@majorcyto
Copy link
Author

@majorcyto majorcyto commented Sep 28, 2016

Ok, how come for instance "91 Days" all downloaded as .mp4 (Episode 1 - 10) then, Episode 11 tries to download as a .flv and it fails?

Is it because the publisher sent it over as a .mp4 or flv? Or is CrunchyRoll themselves later converting videos to mp4?

I have 4 other linux servers i tried it on another one and it managed to download the .flv, how come its not a mp4? How come the FLV works on one of my other servers, but not my main one. Now im just confused...

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 28, 2016

Ask crunchyroll how come they serve flv.

According to

[rtmpdump] ERROR: RTMP_Connect0, failed to connect socket. 110 (Connection timed out)

you most likely have no route to host for some reason.

@dstftw dstftw closed this Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.