[Crunchyroll] Error: Unable to extract video_title
See original GitHub issueChecklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2020.03.24
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones
Verbose log
/usr/bin/youtube-dl --write-sub --sub-lang deDE --netrc --verbose -o '%(series)s - E%(episode_number)02d - %(episode)s.%(ext)s' -f bestvideo+bestaudio/best -- https://www.crunchyrol
l.com/de/that-time-i-got-reincarnated-as-a-slime/episode-24-black-and-the-mask-780741
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--write-sub', '--sub-lang', 'deDE', '--netrc', '--verbose', '-o', '%(series)s - E%(episode_number)02d - %(episode)s.%(ext)s', '-f', 'bestvideo+bestaudio/best', '--', 'https://www.crunchyroll.com/de/that-time-i-got-reincarnated-as-a-slime/episode-24-black-and-the-mask-780741']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.8.2 (CPython) - Linux-4.15.0-96-generic-x86_64-with
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[crunchyroll] Downloading login page
[crunchyroll] Logging in
[crunchyroll] 780741: Downloading webpage
ERROR: Unable to extract video_title; 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/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/crunchyroll.py", line 444, in _real_extract
video_title = self._html_search_regex(
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video_title; 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.
Description
Crunchyroll has updated their website, breaking the video_title regex. Changing the regex on line 445 of the crunchyroll extractor should fix this:
r'(?s)<h1[^>]*>((?:(?!<h1).)*?<span[^>]+itemprop=["\']title["\'][^>]*>(?:(?!<h1).)+?)</h1>'
to
r'(?s)<h1[^>]*>((?:(?!<h1).)*?<span[^>]+itemprop=[\"\']name[\"\'][^>]*>(?:(?!<h1).)+?)</h1>'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Problem with Crunchyroll, ERROR: Unable to extract video_title
When I try to find available video formats or download videos from Crunchyroll, I get the same error about extracting the video_title (ERROR: ......
Read more >Basic Video Help (PS4) - Knowledge Base
Here are a few basic tips that can help get Crunchyroll running for you ... If you are receiving a message stating "Unable...
Read more >The VIDEOS AREN'T WORKING properly! What's wrong?
All videos work except one specific video/series. Please first check if the season for the show you are attempting to view is dubbed...
Read more >My XBOX ONE app won't let me watch any videos!
It's possible your Crunchyroll video Queue has grown too big, and this is affecting the app's memory. Go to your Queue and remove...
Read more >Basic Video Help (Android) - Knowledge Base - Crunchyroll
If you are intentionally attempting to view an International Dub and it is not working you will have to make sure the dubbed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the fix LameLemon 😃 Works great!
How do you build binaries? I haven’t done it before so i have no idea. Windows preferably but I can switch to linux if that’s not possible
EDIT: nvm i did it in a very stupid way but it works so hey