projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8626b23
)
[youtube:search_url] Fix extraction (Closes #6578)
author
Sergey M․
<dstftw@gmail.com>
Sun, 16 Aug 2015 17:33:17 +0000
(23:33 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 16 Aug 2015 17:33:17 +0000
(23:33 +0600)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 887c46d95dcef1febe45166e9dbd2a4c49083e73..4d1ca92986b680aed75a6f34b8052fa5d5903656 100644
(file)
--- 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(