mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-02-17 01:17:54 +01:00
[news18] Add new extractor
This commit is contained in:
parent
f3bffc9ec6
commit
3819e62a61
@ -23,9 +23,6 @@ class News18IE(InfoExtractor):
|
|||||||
video_url = self._search_regex(r'(?P<url>https?:\/\/vodpd\.news18\.com[\/\w_-]+\.mp4)', webpage, 'video URL',default='')
|
video_url = self._search_regex(r'(?P<url>https?:\/\/vodpd\.news18\.com[\/\w_-]+\.mp4)', webpage, 'video URL',default='')
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
|
|
||||||
print(video_url)
|
|
||||||
print(video_id)
|
|
||||||
print(title)
|
|
||||||
return {
|
return {
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user