ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.18k stars 9.93k forks source link

crunchyroll -o series and season not producing expected outcome #11832

Closed darkarrow closed 7 years ago

darkarrow commented 7 years ago

Please follow the guide below


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

Before submitting an issue make sure you have:

What is the purpose of your issue?


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 ```):

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.01.24
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

Description of your issue, suggested solution and other information

When downloading videos from crunchyroll and using the -o option youtube-dl replaces season with NA and replaces series with season name, incidentally it also replaces season_id and season_number with NA as well.

The full option and argument I'm passing: -o 'D:/crunchyroll/anime/%(series)s/%(season)s/%(episode_number)s - %(episode)s.%(ext)s'

A free example video that has a different series and season name: http://www.crunchyroll.com/a-certain-scientific-railgun/episode-47-silent-party-727385

darkarrow commented 7 years ago

http://www.crunchyroll.com/naruto-shippuden/episode-462-a-fabricated-past-696233 http://www.crunchyroll.com/konosuba-gods-blessing-on-this-wonderful-world/episode-1-give-me-deliverance-from-this-judicial-injustice-727589 http://www.crunchyroll.com/one-piece/episode-733-attack-on-a-celestial-luffys-king-kong-gun-of-anger-696989 http://www.crunchyroll.com/blue-exorcist/episode-1-small-beginnings-728285 http://www.crunchyroll.com/gintama/episode-317-the-monster-and-the-monsters-child-728627 http://www.crunchyroll.com/rwby/episode-1-the-next-step-723153 http://www.crunchyroll.com/jojos-bizarre-adventure/episode-1-jotaro-kujo-meets-josuke-higashikata-702297 http://www.crunchyroll.com/mobile-suit-gundam-iron-blooded-orphans/episode-26-new-blood-722219 http://www.crunchyroll.com/bleach/episode-317-untitled-573056