aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-12-30 16:52:02 +0600
committerSergey M. <dstftw@gmail.com>2014-12-30 16:52:02 +0600
commitd0caf3a11eaeb69c76eed01625000cb662e108da (patch)
treeda476d8ffce9033b15b1b61af2b76d38e0cc90f4 /youtube_dl
parent5435d7af910d6363214e377166112aed83cfde1f (diff)
parenta87bb090d95bdfe02429c37a2a10a4733ae69fc6 (diff)
Merge pull request #4599 from t0mm0/daum_fix
[daum] update 'full id' regex
Diffstat (limited to 'youtube_dl')
-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(