[daum] update 'full id' regex
authort0mm0 <dev@onairsoftware.co.uk>
Mon, 29 Dec 2014 23:06:56 +0000 (23:06 +0000)
committert0mm0 <dev@onairsoftware.co.uk>
Mon, 29 Dec 2014 23:06:56 +0000 (23:06 +0000)
fixes #4566

youtube_dl/extractor/daum.py

index c6b813f58ed73e9b08f2584f84288fa821e91688..b4b3b795c108ac538f64ada54ff589f75c059990 100644 (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(