[xfileshare] Support gorillavid.*com* domain
Previously, only the gorillavid.in domain was supported. gorillavid.com redirects to gorillavid.in, but I have run across gorillavid.com links in certain data from time to time. I also sorted the names of the xfileshare sites to provide a consistent order since I ran it through `set`.
This commit is contained in:
parent
bf1b87cd91
commit
5a4824fbe7
@ -20,6 +20,7 @@ class XFileShareIE(InfoExtractor):
|
|||||||
('daclips.in', 'DaClips'),
|
('daclips.in', 'DaClips'),
|
||||||
('filehoot.com', 'FileHoot'),
|
('filehoot.com', 'FileHoot'),
|
||||||
('gorillavid.in', 'GorillaVid'),
|
('gorillavid.in', 'GorillaVid'),
|
||||||
|
('gorillavid.com', 'GorillaVid'),
|
||||||
('movpod.in', 'MovPod'),
|
('movpod.in', 'MovPod'),
|
||||||
('powerwatch.pw', 'PowerWatch'),
|
('powerwatch.pw', 'PowerWatch'),
|
||||||
('rapidvideo.ws', 'Rapidvideo.ws'),
|
('rapidvideo.ws', 'Rapidvideo.ws'),
|
||||||
@ -32,7 +33,7 @@ class XFileShareIE(InfoExtractor):
|
|||||||
('vidlo.us', 'vidlo'),
|
('vidlo.us', 'vidlo'),
|
||||||
)
|
)
|
||||||
|
|
||||||
IE_DESC = 'XFileShare based sites: %s' % ', '.join(list(zip(*_SITES))[1])
|
IE_DESC = 'XFileShare based sites: %s' % ', '.join(sorted(set(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(re.escape(site) for site in list(zip(*_SITES))[0]))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user