projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3c7fe
)
[youtube] Relax URL expansion in description
author
Sergey M․
<dstftw@gmail.com>
Fri, 24 Jun 2016 15:37:13 +0000
(22:37 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 24 Jun 2016 15:37:13 +0000
(22:37 +0700)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 54c6e45f87aef9323f912101b748277f5c958d55..46b9dc66cf6ce263bc8f8c87eadeb8a328086e82 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-1332,7
+1332,7
@@
class YoutubeIE(YoutubeBaseInfoExtractor):
(?:[a-zA-Z-]+="[^"]*"\s+)*?
(?:title|href)="([^"]+)"\s+
(?:[a-zA-Z-]+="[^"]*"\s+)*?
- class="
(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)
"[^>]*>
+ class="
[^"]*
"[^>]*>
[^<]+\.{3}\s*
</a>
''', r'\1', video_description)