mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-24 19:35:50 +01:00
[nonktube] Fix extraction (closes #22544)
This commit is contained in:
parent
f4b865c613
commit
72fd4d0c6a
@ -25,9 +25,14 @@ class NonkTubeIE(NuevoBaseIE):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
|
||||||
info = self._extract_nuevo(
|
webpage = self._download_webpage(url, video_id)
|
||||||
'https://www.nonktube.com/media/nuevo/econfig.php?key=%s'
|
|
||||||
% video_id, video_id)
|
|
||||||
|
|
||||||
info['age_limit'] = 18
|
title = self._og_search_title(webpage)
|
||||||
|
info = self._parse_html5_media_entries(url, webpage, video_id)[0]
|
||||||
|
|
||||||
|
info.update({
|
||||||
|
'id': video_id,
|
||||||
|
'title': title,
|
||||||
|
'age_limit': 18,
|
||||||
|
})
|
||||||
return info
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user