1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 00:02:57 +08:00

[daum] update 'full id' regex

fixes #4566
This commit is contained in:
t0mm0 2014-12-29 23:06:56 +00:00
parent 5435d7af91
commit a87bb090d9

View File

@ -38,7 +38,7 @@ class DaumIE(InfoExtractor):
canonical_url = 'http://tvpot.daum.net/v/%s' % video_id
webpage = self._download_webpage(canonical_url, video_id)
full_id = self._search_regex(
r'<iframe src="http://videofarm.daum.net/controller/video/viewer/Video.html\?.*?vid=(.+?)[&"]',
r'src=["\']http://videofarm.daum.net/controller/video/viewer/Video.html\?.*?vid=(.+?)[&"\']',
webpage, 'full id')
query = compat_urllib_parse.urlencode({'vid': full_id})
info = self._download_xml(