aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort0mm0 <dev@onairsoftware.co.uk>2014-12-29 23:06:56 +0000
committert0mm0 <dev@onairsoftware.co.uk>2014-12-29 23:06:56 +0000
commita87bb090d95bdfe02429c37a2a10a4733ae69fc6 (patch)
treeda476d8ffce9033b15b1b61af2b76d38e0cc90f4
parent5435d7af910d6363214e377166112aed83cfde1f (diff)
[daum] update 'full id' regex
fixes #4566
-rw-r--r--youtube_dl/extractor/daum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/daum.py b/youtube_dl/extractor/daum.py
index c6b813f58..b4b3b795c 100644
--- a/youtube_dl/extractor/daum.py
+++ b/youtube_dl/extractor/daum.py
@@ -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(