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

youtube-dl crunchyroll #2782

Closed
xaosdoom opened this issue Apr 21, 2014 · 17 comments
Closed

youtube-dl crunchyroll #2782

xaosdoom opened this issue Apr 21, 2014 · 17 comments

Comments

@xaosdoom
Copy link

hi i like your program but i have 1 problem how download premium videos from crunchyroll ( i have a premium account)

@trashraizes
Copy link

Seconded.

I tried the options -u & -p to no avail.

@oneplusme
Copy link
Contributor

I've cobbled together support for CR logins and .ass subtitle output here:
#3616

(First time coding in Python, so it's a bit naive. Seems to work, though - mplayer and aegisub are happy with the results.)

@ajay230ps
Copy link

Hi, Lately after the 2014/11 update downloading from the crunchyroll is not working

here is the error msg

http://goo.gl/gmAU57

@VikasRana
Copy link

I second it. Downloads not working I have premium account in CC. Please see the issue.

@oneplusme
Copy link
Contributor

Seems to work for me using the 2014.11.13 release and the URL from the example:

[Crunchyroll] 539328: Downloading webpage
[Crunchyroll] 539328: Downloading media info
[Crunchyroll] 539328: Downloading media info for 360p
[Crunchyroll] 539328: Downloading media info for 480p
[Crunchyroll] 539328: Downloading media info for 720p
[Crunchyroll] 539328: Downloading media info for 1080p
[Crunchyroll] 539328: Downloading subtitles for English (US)
[Crunchyroll] 539328: Downloading subtitles for Türkçe
[info] Available formats for 539328:
format code extension resolution note
360p flv unknown (worst)
480p flv unknown
720p flv unknown
1080p flv unknown (best)

@ajay230ps
Copy link

Just downloaded the updates now it seems to work but I'm getting some kinds of warning i guess

mrtj@Xenon:~$ youtube-dl -F http://www.crunchyroll.com/naruto-shippuden/episode-151-master-and-student-539328
[Crunchyroll] 539328: Downloading webpage
[Crunchyroll] 539328: Downloading media info
[Crunchyroll] 539328: Downloading media info for 360p
[Crunchyroll] 539328: Downloading media info for 480p
[Crunchyroll] 539328: Downloading subtitles for English (US)
/usr/lib/python2.7/dist-packages/youtube_dl/extractor/crunchyroll.py:267: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if not sub_root:
[Crunchyroll] 539328: Downloading subtitles for Türkçe
[info] Available formats for 539328:
format code extension resolution note
360p flv unknown (worst)
480p flv unknown (best)

phihag added a commit that referenced this issue Nov 14, 2014
@phihag
Copy link
Contributor

phihag commented Nov 14, 2014

@ajay230ps That warning is harmless. I have nevertheless corrected it in 0cc8888.

@oneplusme
Copy link
Contributor

@phihag Thanks. It was my first time writing Python, so apologies for the naive code there.

@ajay230ps
Copy link

@phihag @oneplusme Thanks now its working awesome no warnings

@ajay230ps
Copy link

@oneplusme But i wonder my setup doesn't give any option for 720p

mrtj@Xenon:~$ youtube-dl -F http://www.crunchyroll.com/naruto-shippuden/episode-163-explosion-sage-mode-542490
[Crunchyroll] 542490: Downloading webpage
[Crunchyroll] 542490: Downloading media info
[Crunchyroll] 542490: Downloading media info for 360p
[Crunchyroll] 542490: Downloading media info for 480p
[Crunchyroll] 542490: Downloading subtitles for English (US)
[info] Available formats for 542490:
format code extension resolution note
360p flv unknown (worst)
480p flv unknown (best)

@oneplusme
Copy link
Contributor

@ajay230ps 720p and 1080p are only available if you have a subscription account. You can use the -u (and optionally -p) flag(s) to log in and make them available.

@ajay230ps
Copy link

@oneplusme Okay got it ! Thanks

@ajay230ps
Copy link

Hi Guys I noticed in few links its giving AttributeError: 'NoneType' object has no attribute 'startswith'

http://www.crunchyroll.com/naruto-shippuden/episode-203-sasukes-ninja-way-570066

http://www.crunchyroll.com/naruto-shippuden/episode-212-sakuras-resolve-572888

here is the error msg

youtube-dl -f 360p --all-subs --verbose http://www.crunchyroll.com/naruto-shippuden/episode-212-sakuras-resolve-572888
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '360p', '--all-subs', '--verbose', 'http://www.crunchyroll.com/naruto-shippuden/episode-212-sakuras-resolve-572888']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.13.3
[debug] Python version 2.7.6 - Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] 572888: Downloading webpage
[Crunchyroll] 572888: Downloading media info
[Crunchyroll] 572888: Downloading media info for 360p
[Crunchyroll] 572888: Downloading media info for 480p
[Crunchyroll] 572888: Downloading subtitles for English (US)
[info] Writing video subtitles to: Naruto Shippuden - The Assembly of the Five Kage Episode 212 – Sakura’s Resolve-572888.enUS.srt
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 351, in main
_real_main(argv)
File "/usr/lib/python2.7/dist-packages/youtube_dl/init.py", line 341, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1094, in download
res = self.extract_info(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 547, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 593, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 870, in process_video_result
self.process_info(new_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1064, in process_info
success = dl(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1035, in dl
fd = get_suitable_downloader(info)(self, self.params)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/init.py", line 21, in get_suitable_downloader
if url.startswith('rtmp'):
AttributeError: 'NoneType' object has no attribute 'startswith'

@ajay230ps
Copy link

Not working now again...

$ youtube-dl -F http://www.crunchyroll.com/naruto-shippuden/episode-391-madara-uchiha-rises-666343
[Crunchyroll] 666343: Downloading webpage
[Crunchyroll] 666343: Downloading media info
[Crunchyroll] 666343: Downloading subtitles for English (US)
ERROR: No video formats found!; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
mrtj@xenon:
$ youtube-dl -F --verbose http://www.crunchyroll.com/naruto-shippuden/episode-391-madara-uchiha-rises-666343[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-F', '--verbose', 'http://www.crunchyroll.com/naruto-shippuden/episode-391-madara-uchiha-rises-666343']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.6 - Linux-3.13.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6, ffmpeg 2.4.3, ffprobe 2.4.3, rtmpdump 2.4
[debug] Proxy map: {}
[Crunchyroll] 666343: Downloading webpage
[Crunchyroll] 666343: Downloading media info
[Crunchyroll] 666343: Downloading subtitles for English (US)
ERROR: No video formats found!; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 603, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 649, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 853, in process_video_result
raise ExtractorError('No video formats found!')
ExtractorError: No video formats found!; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

jaimeMF added a commit that referenced this issue Jan 2, 2015
@jaimeMF
Copy link
Collaborator

jaimeMF commented Jan 2, 2015

@ajay230ps I have fixed the issue in a221f22, it will work in the next version.

@ajay230ps
Copy link

Thanks ! :)

@RepoBike
Copy link

RepoBike commented Dec 6, 2015

Im having the same problem.

$ youtube-dl -u &&&&&&r -p &&&&&&& -F http://www.crunchyroll.com/the-asterisk-war/episode-10-the-tyrant-vampire-princess-687553
[Crunchyroll] 687553: Downloading webpage
ERROR: This is a sample clip. To watch the full video, start a free trial today!; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

is there something im missing?
Sorry first time using youtube-dl with linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants