mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 00:17:17 +08:00
fix build for python3.2
This commit is contained in:
parent
a90a1bd798
commit
32f41d8421
@ -1074,7 +1074,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
|
||||
m = re.findall(r'''<meta(?:\s+[a-zA-Z0-9:._-]+(?:=[a-zA-Z0-9:._-]+|="[^"]+"|='[^']+'))*?\s+property=['"]?og:video:tag['"]?(?:\s+[a-zA-Z0-9:._-]+(?:=[a-zA-Z0-9:._-]+|="[^"]+"|='[^']+'))*?\s+content=['"]?([^>'"]+?)['"]?\s*>'''
|
||||
, video_webpage, re.DOTALL | re.IGNORECASE);
|
||||
video_tags = u", ".join(m)
|
||||
video_tags = ", ".join(m)
|
||||
# description
|
||||
video_description = get_element_by_id("eow-description", video_webpage)
|
||||
if video_description:
|
||||
|
Loading…
x
Reference in New Issue
Block a user