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

Error with long title names on Crunchyroll #13531

Closed
TheIanator opened this issue Jun 30, 2017 · 0 comments
Closed

Error with long title names on Crunchyroll #13531

TheIanator opened this issue Jun 30, 2017 · 0 comments
Labels

Comments

@TheIanator
Copy link

@TheIanator TheIanator commented Jun 30, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.25. 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 2017.06.25

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

PS C:\Users\Ian\Desktop\Youtube-dl> .\youtube-dl.exe --cookies "cookies.txt" --write-sub --sub-lang "enUS" --embed-subs -i -v "http://www.crunchyroll.com/gintama/episode-189-part-a-we-know-its-best-to-finish-yearly-tasks-before-the-end-of-the-year-but-then-you-put-it-off-till-next-year-for-a-fresh-start-thats-how-the-end-of-the-year-goes-part-b-radio-exercises-
are-socials-for-boys-and-girls-537060"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', '--write-sub', '--sub-lang', 'enUS', '--embed-subs', '-i', '-v', 'http://www.crunchyroll.com/gintama/episode-189-part-a-we-know-its-best-to-finish-yearly-tasks-before-the-end-of-the-year-but-then-you-put-it-off-till-next-year-for-a-fresh-start-thats-how-the-end-of-the-year-goes-part-b-radio-exercises-are-socials-for-boys-and-girls-537060']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.06.25
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-86669-gc1d1274, ffprobe N-86669-gc1d1274
[debug] Proxy map: {}
[Crunchyroll] 537060: Downloading webpage
[Crunchyroll] 537060: Downloading media info for 360p
[Crunchyroll] 537060: Downloading m3u8 information
[Crunchyroll] 537060: Downloading media info for 480p
[Crunchyroll] 537060: Downloading m3u8 information
[Crunchyroll] 537060: Downloading media info for 720p
[Crunchyroll] 537060: Downloading m3u8 information
[Crunchyroll] 537060: Downloading media info for 1080p
[Crunchyroll] 537060: Downloading m3u8 information
[Crunchyroll] 537060: Downloading media info
[Crunchyroll] 537060: Downloading subtitles for English (US)
[info] Writing video subtitles to: Gintama Season 1 (Eps 151-201) Episode 189 – Part A We Know It’s Best to Finish Yearly Tasks Before the End Of The Year, But Then You Put It Off Till Next Year For a Fresh Start. That’s How The End...-537060.enUS.ass
[debug] Invoking downloader on 'https://v.vrv.co/evs/assets/zqv582v9g9ul26y_965705.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYXNzZXRzLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE0OTkwMzM4ODl9fX1dfQ__&Signature=gpYH1v6OgubkteTbXldwFjEoKxNS-hEBNf7X9X~lnjBU-MzPMyGzJ8VFZlcOk1BIuBQzhflreYlp5TfakJfy0bB5NlFQgqXBz~SyCUnIYUh0RjZH3OMQOY5r8ulyUt7MkMPh1hYu1wqWEtb9jie7TE4gXhej-7YXHMklwsUsXdE7mSFvujdRAei93orEYx7zzVmN6yBH1qLYyF9zYIuj0p-LLGDnALq7Adu5DP1S8gbAbF5lR6862yCU2JE8Awbf-SQOTPr526aczqiN-~TSaXxNxB7-EeHfURNaQyzWpN2qblB4iSRs4RJIe3V3ZyeNXlzpC3toLfqlvFkhJPHtew__&Key-Pair-Id=APKAJKQQ2INNHTYFB44A'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 144
[download] Destination: Gintama Season 1 (Eps 151-201) Episode 189 – Part A We Know It’s Best to Finish Yearly Tasks Before the End Of The Year, But Then You Put It Off Till Next Year For a Fresh Start. That’s How The End...-537060.mp4
ERROR: unable to open for writing: [Errno 2] No such file or directory: 'Gintama Season 1 (Eps 151-201) Episode 189 – Part A We Know It’s Best to Finish Yearly Tasks Before the End Of The Year, But Then You Put It Off Till Next Year For a Fresh Start. That’s How The End...-537060.mp4.part-Frag10.part'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpuoca4kkw\build\youtube_dl\downloader\http.py", line 175, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpuoca4kkw\build\youtube_dl\utils.py", line 454, in sanitize_open
FileNotFoundError: [Errno 2] No such file or directory: 'Gintama Season 1 (Eps 151-201) Episode 189 – Part A We Know It’s Best to Finish Yearly Tasks Before the End Of The Year, But Then You Put It Off Till Next Year For a Fresh Start. That’s How The End...-537060.mp4.part-Frag10.part'         

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

The 7 episodes at http://www.crunchyroll.com/gintama that threw this error:
http://www.crunchyroll.com/gintama/episode-111-definitely-do-not-let-your-girlfriend-see-the-things-you-use-for-cross-dressing-theres-almost-a-100-chance-youll-forget-your-umbrella-and-hate-yourself-for-it-510284
http://www.crunchyroll.com/gintama/episode-189-part-a-we-know-its-best-to-finish-yearly-tasks-before-the-end-of-the-year-but-then-you-put-it-off-till-next-year-for-a-fresh-start-thats-how-the-end-of-the-year-goes-part-b-radio-exercises-are-socials-for-boys-and-girls-537060
http://www.crunchyroll.com/gintama/gintama-season-2-253-265-gintama-classic-definitely-do-not-let-your-girlfriend-see-the-things-you-use-for-cross-dressing-theres-almost-a-100-chance-youll-forget-your-umbrella-and-hate-yourself-for-it-615347
http://www.crunchyroll.com/gintama/episode-239-you-know-those-year-end-parties-where-you-keep-drinking-until-youve-forgotten-everything-that-happened-the-past-year-there-are-a-few-things-youre-not-supposed-to-forget-585310
http://www.crunchyroll.com/gintama/episode-274-guys-with-big-nostrils-also-have-big-imaginations-you-never-accept-a-new-sentai-series-at-the-start-but-by-the-final-episode-you-dont-want-it-to-end-729553
http://www.crunchyroll.com/gintama/episode-292-style-goes-out-of-fashion-the-moment-its-put-into-words-there-are-two-types-of-people-in-this-world-those-who-yell-out-their-attack-names-and-those-who-dont-729803
http://www.crunchyroll.com/gintama/episode-292-style-goes-out-of-fashion-the-moment-its-put-into-words-there-are-two-types-of-people-in-this-world-those-who-yell-out-their-attack-names-and-those-who-dont-682661

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

I downloaded the show Gintama from Crunchyroll. 8 total episodes threw errors, and 7 of those were the same error. These 7 all had long titles, and I was able to get them to download correctly by adding "-o "%(episode_number)s-%(id)s.%(ext)s"" to the command.

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

@dstftw dstftw closed this Jul 1, 2017
@dstftw dstftw added the duplicate label Jul 1, 2017
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.