mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[skynewsarabia] fix extractor name
This commit is contained in:
parent
53e06b2507
commit
96929dd1e8
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
)
|
||||
|
||||
|
||||
class SkyNewArabiaBaseIE(InfoExtractor):
|
||||
class SkyNewsArabiaBaseIE(InfoExtractor):
|
||||
_IMAGE_BASE_URL = 'http://www.skynewsarabia.com/web/images'
|
||||
|
||||
def _call_api(self, path, value):
|
||||
|
@ -40,7 +40,7 @@ def _extract_video_info(self, video_data):
|
|||
}
|
||||
|
||||
|
||||
class SkyNewsArabiaIE(SkyNewArabiaBaseIE):
|
||||
class SkyNewsArabiaIE(SkyNewsArabiaBaseIE):
|
||||
IE_NAME = 'skynewsarabia:video'
|
||||
_VALID_URL = r'https?://(?:www\.)?skynewsarabia\.com/web/video/(?P<id>[0-9]+)'
|
||||
_TEST = {
|
||||
|
@ -66,7 +66,7 @@ def _real_extract(self, url):
|
|||
return self._extract_video_info(video_data)
|
||||
|
||||
|
||||
class SkyNewsArabiaArticleIE(SkyNewArabiaBaseIE):
|
||||
class SkyNewsArabiaArticleIE(SkyNewsArabiaBaseIE):
|
||||
IE_NAME = 'skynewsarabia:video'
|
||||
_VALID_URL = r'https?://(?:www\.)?skynewsarabia\.com/web/article/(?P<id>[0-9]+)'
|
||||
_TESTS = [{
|
||||
|
|
Loading…
Reference in a new issue