diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-03-07 18:59:06 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-03-07 18:59:06 +0600 |
commit | 98998cded6e179b35055177f75fc921d99ee5938 (patch) | |
tree | da00139505305d3f476e5067a543b49e7689c919 | |
parent | 14137b5781305d3c9db523b14283128335f62135 (diff) | |
download | youtube-dl-98998cded6e179b35055177f75fc921d99ee5938.tar.xz |
[youtube:search_url] Fix extraction (Closes #5155)
-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 3690f8021..27c8c4453 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1532,7 +1532,7 @@ class YoutubeSearchURLIE(InfoExtractor): webpage = self._download_webpage(url, query) result_code = self._search_regex( - r'(?s)<ol class="item-section"(.*?)</ol>', webpage, 'result HTML') + r'(?s)<ol[^>]+class="item-section"(.*?)</ol>', webpage, 'result HTML') part_codes = re.findall( r'(?s)<h3 class="yt-lockup-title">(.*?)</h3>', result_code) |