diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 21:47:57 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-09-29 21:47:57 +0200 |
commit | a7a747d6872c4680df228f8558e31c359f5a6630 (patch) | |
tree | fec64b51881706462f61383058cb5805e5805c36 /youtube_dl | |
parent | fdb4d278bf6c2481778e01ab0ff25c2050664f1c (diff) |
[vuclip] Remove test code
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/vuclip.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/youtube_dl/extractor/vuclip.py b/youtube_dl/extractor/vuclip.py index c2aa497bf..ab1e7946e 100644 --- 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: |