projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae503a
)
[youtube] Fix URL expansion in video description
author
Sergey M․
<dstftw@gmail.com>
Mon, 18 Jan 2016 17:17:45 +0000
(23:17 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 18 Jan 2016 17:17:45 +0000
(23:17 +0600)
Fixes test_Youtube_18
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index e4f227f199d10ae3923acbc97d09263a9531470a..50c1363cd5aa4f0b624240d4278ec77872b3468e 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1237,7
+1237,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
(?:[a-zA-Z-]+="[^"]+"\s+)*?
(?:title|href)="([^"]+)"\s+
(?:[a-zA-Z-]+="[^"]+"\s+)*?
- class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"
.*?
>
+ class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)"
[^>]*
>
[^<]+\.{3}\s*
</a>
''', r'\1', video_description)