1
0
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:
Purdea Andrei 2015-07-28 18:05:46 +03:00
parent a90a1bd798
commit 32f41d8421

View File

@ -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: