Fails to download searches on Youtube. Unable to extract result HTML error. #4240

Closed
opened 2026-02-21 00:11:44 -05:00 by deekerman · 1 comment
Owner

Originally created by @cypherbits on GitHub (Mar 7, 2015).

https://www.youtube.com/results?search_query=something

This was working days ago.

[youtube:search_url] something: Downloading webpage
ERROR: Unable to extract result HTML; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 648, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 275, in extract
return self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1535, in _real_extract
r'(?s)<ol class="item-section"(.*?)', webpage, 'result HTML')
File "./youtube-dl/youtube_dl/extractor/common.py", line 547, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract result HTML; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Originally created by @cypherbits on GitHub (Mar 7, 2015). https://www.youtube.com/results?search_query=something This was working days ago. [youtube:search_url] something: Downloading webpage ERROR: Unable to extract result HTML; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "./youtube-dl/youtube_dl/YoutubeDL.py", line 648, in extract_info ie_result = ie.extract(url) File "./youtube-dl/youtube_dl/extractor/common.py", line 275, in extract return self._real_extract(url) File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1535, in _real_extract r'(?s)<ol class="item-section"(.*?)</ol>', webpage, 'result HTML') File "./youtube-dl/youtube_dl/extractor/common.py", line 547, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) RegexNotFoundError: Unable to extract result HTML; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Author
Owner

@dstftw commented on GitHub (Mar 7, 2015):

This will be fixed in the next version. Thanks for the report.

@dstftw commented on GitHub (Mar 7, 2015): This will be fixed in the next version. Thanks for the report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#4240
No description provided.