aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/daum.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-12-30 16:55:53 +0600
committerSergey M․ <dstftw@gmail.com>2014-12-30 16:55:53 +0600
commit1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b (patch)
tree923ad4e9271865022b1a6ce219ef874dc9ecffeb /youtube_dl/extractor/daum.py
parentd0caf3a11eaeb69c76eed01625000cb662e108da (diff)
downloadyoutube-dl-1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b.zip
youtube-dl-1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b.tar.gz
youtube-dl-1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b.tar.bz2
[daum] Improve full_id regex
Diffstat (limited to 'youtube_dl/extractor/daum.py')
-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 b4b3b79..934da76 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'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(