diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-12-30 16:55:53 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-12-30 16:55:53 +0600 |
commit | 1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b (patch) | |
tree | 923ad4e9271865022b1a6ce219ef874dc9ecffeb | |
parent | d0caf3a11eaeb69c76eed01625000cb662e108da (diff) |
[daum] Improve full_id regex
-rw-r--r-- | youtube_dl/extractor/daum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/daum.py b/youtube_dl/extractor/daum.py index b4b3b795c..934da765e 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( |