diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-08-16 23:33:17 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-08-16 23:33:17 +0600 |
commit | f74a7348f6ac52259ea66b74a40165b448fbd702 (patch) | |
tree | 8277b474faeb3b3886c77a2a253496cc7a80a5be /youtube_dl/extractor | |
parent | 8626b23e4ea091c4093c25626ca9fc12293b2830 (diff) |
[youtube:search_url] Fix extraction (Closes #6578)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 887c46d95..4d1ca9298 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1762,7 +1762,7 @@ class YoutubeSearchURLIE(InfoExtractor): r'(?s)<ol[^>]+class="item-section"(.*?)</ol>', webpage, 'result HTML') part_codes = re.findall( - r'(?s)<h3 class="yt-lockup-title">(.*?)</h3>', result_code) + r'(?s)<h3[^>]+class="[^"]*yt-lockup-title[^"]*"[^>]*>(.*?)</h3>', result_code) entries = [] for part_code in part_codes: part_title = self._html_search_regex( |