diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-14 20:26:24 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-14 20:26:52 +0700 |
commit | 685e87b61f785b096745cda5ea64ea0b950f56d1 (patch) | |
tree | 28bed36296a9edc422820b3eb200eef75846e7fd /youtube_dl/extractor | |
parent | c9bd503e7de28e9d4ba9ebee5e509a8abb90fc72 (diff) |
[youtube] Fix relative URLs in description
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
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* </a> - ''', 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'<meta name="description" content="([^"]+)"', video_webpage) |