youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 23f13e97548cc4ff3d11408ee5bc77f682e642dc
parent 2e02ecbccc9751af54ae2aab9ce973712c78af74
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri,  8 Jan 2016 00:52:55 +0600

[youtube] Support expanding alternative format of links in description (Closes #8164)

Diffstat:
Myoutube_dl/extractor/youtube.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -1235,10 +1235,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor): video_description = re.sub(r'''(?x) <a\s+ (?:[a-zA-Z-]+="[^"]+"\s+)*? - title="([^"]+)"\s+ + (?:title|href)="([^"]+)"\s+ (?:[a-zA-Z-]+="[^"]+"\s+)*? - class="yt-uix-redirect-link"\s*> - [^<]+ + class="(?:yt-uix-redirect-link|yt-uix-sessionlink[^"]*)".*?> + [^<]+\.{3}\s* </a> ''', r'\1', video_description) video_description = clean_html(video_description)