mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-19 13:01:46 -07:00
download_webpage() without _handle
This commit is contained in:
parent
c4e5b23f86
commit
35857bf76b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue