From: Sergey M․ Date: Tue, 30 Dec 2014 10:55:53 +0000 (+0600) Subject: [daum] Improve full_id regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1c57e7f1f496a6f1fad43c0b193ce534fc9ce67b;p=youtube-dl [daum] Improve full_id regex --- 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(