mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[youtube] Fix relative URLs in description
This commit is contained in:
parent
c9bd503e7d
commit
685e87b61f
1 changed files with 1 additions and 1 deletions
|
@ -1630,7 +1630,7 @@ def extract_view_count(v_info):
|
||||||
class="[^"]*"[^>]*>
|
class="[^"]*"[^>]*>
|
||||||
[^<]+\.{3}\s*
|
[^<]+\.{3}\s*
|
||||||
</a>
|
</a>
|
||||||
''', r'\1', video_description)
|
''', lambda m: compat_urlparse.urljoin(url, m.group(1)), video_description)
|
||||||
video_description = clean_html(video_description)
|
video_description = clean_html(video_description)
|
||||||
else:
|
else:
|
||||||
fd_mobj = re.search(r'<meta name="description" content="([^"]+)"', video_webpage)
|
fd_mobj = re.search(r'<meta name="description" content="([^"]+)"', video_webpage)
|
||||||
|
|
Loading…
Reference in a new issue