From: Sergey M․ Date: Sat, 14 Oct 2017 13:26:24 +0000 (+0700) Subject: [youtube] Fix relative URLs in description X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=685e87b61f785b096745cda5ea64ea0b950f56d1;p=youtube-dl [youtube] Fix relative URLs in description --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 6e2d57d6a..4e8db240d 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1630,7 +1630,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): class="[^"]*"[^>]*> [^<]+\.{3}\s* - ''', r'\1', video_description) + ''', lambda m: compat_urlparse.urljoin(url, m.group(1)), video_description) video_description = clean_html(video_description) else: fd_mobj = re.search(r'