mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-26 23:51:03 +00:00
download_webpage() without _handle
This commit is contained in:
parent
c4e5b23f86
commit
35857bf76b
|
@ -356,7 +356,7 @@ class VPROIE(NPOIE):
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = url.rstrip('/').split('/')[-1]
|
video_id = url.rstrip('/').split('/')[-1]
|
||||||
page, _ = self._download_webpage_handle(url, video_id)
|
page = self._download_webpage(url, video_id)
|
||||||
results = re.findall(r'data-media-id="([a-zA-Z0-9_]+)"\s', page)
|
results = re.findall(r'data-media-id="([a-zA-Z0-9_]+)"\s', page)
|
||||||
formats = []
|
formats = []
|
||||||
for result in results:
|
for result in results:
|
||||||
|
|
Loading…
Reference in a new issue