projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb4d27
)
[vuclip] Remove test code
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 19:47:57 +0000
(21:47 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 29 Sep 2014 19:47:57 +0000
(21:47 +0200)
youtube_dl/extractor/vuclip.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vuclip.py
b/youtube_dl/extractor/vuclip.py
index c2aa497bfa39b99b4d233403ca274b4ff6d56595..ab1e7946eabc391da8f0a52600e6ef6fbd4acba3 100644
(file)
--- a/
youtube_dl/extractor/vuclip.py
+++ b/
youtube_dl/extractor/vuclip.py
@@
-28,9
+28,7
@@
class VuClipIE(InfoExtractor):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
- #webpage = self._download_webpage(url, video_id)
- import io
- webpage = io.open('922692425_http_-_m.vuclip.com_wcid=922692425_fid=70295_z=1010_nvar_frm=index.html.dump', encoding='utf-8').read()
+ webpage = self._download_webpage(url, video_id)
ad_m = re.search(
r'''value="No.*?" onClick="location.href='([^"']+)'"''', webpage)
if ad_m: