projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0caf3a
)
[daum] Improve full_id regex
author
Sergey M․
<dstftw@gmail.com>
Tue, 30 Dec 2014 10:55:53 +0000
(16:55 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 30 Dec 2014 10:55:53 +0000
(16:55 +0600)
youtube_dl/extractor/daum.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/daum.py
b/youtube_dl/extractor/daum.py
index b4b3b795c108ac538f64ada54ff589f75c059990..934da765ee700712721281a85dd955c28405001e 100644
(file)
--- 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(
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(
webpage, 'full id')
query = compat_urllib_parse.urlencode({'vid': full_id})
info = self._download_xml(