mirror of https://github.com/yt-dlp/yt-dlp.git
[vuclip] Remove test code
This commit is contained in:
parent
fdb4d278bf
commit
a7a747d687
|
@ -28,9 +28,7 @@ class VuClipIE(InfoExtractor):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
video_id = mobj.group('id')
|
video_id = mobj.group('id')
|
||||||
|
|
||||||
#webpage = self._download_webpage(url, video_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()
|
|
||||||
ad_m = re.search(
|
ad_m = re.search(
|
||||||
r'''value="No.*?" onClick="location.href='([^"']+)'"''', webpage)
|
r'''value="No.*?" onClick="location.href='([^"']+)'"''', webpage)
|
||||||
if ad_m:
|
if ad_m:
|
||||||
|
|
Loading…
Reference in New Issue