mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 23:19:40 +00:00
[chirbit] Clarify extractors' IE_NAMEs
This commit is contained in:
parent
80af2b73ab
commit
04e8c11080
@ -9,6 +9,7 @@ from ..utils import (
|
|||||||
|
|
||||||
|
|
||||||
class ChirbitIE(InfoExtractor):
|
class ChirbitIE(InfoExtractor):
|
||||||
|
IE_NAME = 'chirbit'
|
||||||
_VALID_URL = r'https?://(?:www\.)?chirb\.it/(?:(?:wp|pl)/|fb_chirbit_player\.swf\?key=)?(?P<id>[\da-zA-Z]+)'
|
_VALID_URL = r'https?://(?:www\.)?chirb\.it/(?:(?:wp|pl)/|fb_chirbit_player\.swf\?key=)?(?P<id>[\da-zA-Z]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'http://chirb.it/PrIPv5',
|
'url': 'http://chirb.it/PrIPv5',
|
||||||
@ -57,6 +58,7 @@ class ChirbitIE(InfoExtractor):
|
|||||||
|
|
||||||
|
|
||||||
class ChirbitProfileIE(InfoExtractor):
|
class ChirbitProfileIE(InfoExtractor):
|
||||||
|
IE_NAME = 'chirbit:profile'
|
||||||
_VALID_URL = r'https?://(?:www\.)?chirbit.com/(?:rss/)?(?P<id>[^/]+)'
|
_VALID_URL = r'https?://(?:www\.)?chirbit.com/(?:rss/)?(?P<id>[^/]+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://chirbit.com/ScarletBeauty',
|
'url': 'http://chirbit.com/ScarletBeauty',
|
||||||
|
Loading…
Reference in New Issue
Block a user