mirror of https://github.com/yt-dlp/yt-dlp.git
[xfileshare] Add support for gorillavid.com and daclips.com (closes #12776)
This commit is contained in:
parent
18848d226a
commit
2dc48df5bc
|
@ -17,24 +17,24 @@ from ..utils import (
|
||||||
|
|
||||||
class XFileShareIE(InfoExtractor):
|
class XFileShareIE(InfoExtractor):
|
||||||
_SITES = (
|
_SITES = (
|
||||||
('daclips.in', 'DaClips'),
|
(r'daclips\.(?:in|com)', 'DaClips'),
|
||||||
('filehoot.com', 'FileHoot'),
|
(r'filehoot\.com', 'FileHoot'),
|
||||||
('gorillavid.in', 'GorillaVid'),
|
(r'gorillavid\.(?:in|com)', 'GorillaVid'),
|
||||||
('movpod.in', 'MovPod'),
|
(r'movpod\.in', 'MovPod'),
|
||||||
('powerwatch.pw', 'PowerWatch'),
|
(r'powerwatch\.pw', 'PowerWatch'),
|
||||||
('rapidvideo.ws', 'Rapidvideo.ws'),
|
(r'rapidvideo\.ws', 'Rapidvideo.ws'),
|
||||||
('thevideobee.to', 'TheVideoBee'),
|
(r'thevideobee\.to', 'TheVideoBee'),
|
||||||
('vidto.me', 'Vidto'),
|
(r'vidto\.me', 'Vidto'),
|
||||||
('streamin.to', 'Streamin.To'),
|
(r'streamin\.to', 'Streamin.To'),
|
||||||
('xvidstage.com', 'XVIDSTAGE'),
|
(r'xvidstage\.com', 'XVIDSTAGE'),
|
||||||
('vidabc.com', 'Vid ABC'),
|
(r'vidabc\.com', 'Vid ABC'),
|
||||||
('vidbom.com', 'VidBom'),
|
(r'vidbom\.com', 'VidBom'),
|
||||||
('vidlo.us', 'vidlo'),
|
(r'vidlo\.us', 'vidlo'),
|
||||||
)
|
)
|
||||||
|
|
||||||
IE_DESC = 'XFileShare based sites: %s' % ', '.join(list(zip(*_SITES))[1])
|
IE_DESC = 'XFileShare based sites: %s' % ', '.join(list(zip(*_SITES))[1])
|
||||||
_VALID_URL = (r'https?://(?P<host>(?:www\.)?(?:%s))/(?:embed-)?(?P<id>[0-9a-zA-Z]+)'
|
_VALID_URL = (r'https?://(?P<host>(?:www\.)?(?:%s))/(?:embed-)?(?P<id>[0-9a-zA-Z]+)'
|
||||||
% '|'.join(re.escape(site) for site in list(zip(*_SITES))[0]))
|
% '|'.join(site for site in list(zip(*_SITES))[0]))
|
||||||
|
|
||||||
_FILE_NOT_FOUND_REGEXES = (
|
_FILE_NOT_FOUND_REGEXES = (
|
||||||
r'>(?:404 - )?File Not Found<',
|
r'>(?:404 - )?File Not Found<',
|
||||||
|
|
Loading…
Reference in New Issue