|
@ -107,6 +107,7 @@ from .springboardplatform import SpringboardPlatformIE |
|
|
from .yapfiles import YapFilesIE |
|
|
from .yapfiles import YapFilesIE |
|
|
from .vice import ViceIE |
|
|
from .vice import ViceIE |
|
|
from .xfileshare import XFileShareIE |
|
|
from .xfileshare import XFileShareIE |
|
|
|
|
|
from .cloudflarestream import CloudflareStreamIE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GenericIE(InfoExtractor): |
|
|
class GenericIE(InfoExtractor): |
|
@ -2013,6 +2014,19 @@ class GenericIE(InfoExtractor): |
|
|
'skip_download': True, |
|
|
'skip_download': True, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
# CloudflareStream embed |
|
|
|
|
|
'url': 'https://www.cloudflare.com/products/cloudflare-stream/', |
|
|
|
|
|
'info_dict': { |
|
|
|
|
|
'id': '31c9291ab41fac05471db4e73aa11717', |
|
|
|
|
|
'ext': 'mp4', |
|
|
|
|
|
'title': '31c9291ab41fac05471db4e73aa11717', |
|
|
|
|
|
}, |
|
|
|
|
|
'add_ie': [CloudflareStreamIE.ie_key()], |
|
|
|
|
|
'params': { |
|
|
|
|
|
'skip_download': True, |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
'url': 'http://share-videos.se/auto/video/83645793?uid=13', |
|
|
'url': 'http://share-videos.se/auto/video/83645793?uid=13', |
|
|
'md5': 'b68d276de422ab07ee1d49388103f457', |
|
|
'md5': 'b68d276de422ab07ee1d49388103f457', |
|
@ -3025,6 +3039,11 @@ class GenericIE(InfoExtractor): |
|
|
return self.playlist_from_matches( |
|
|
return self.playlist_from_matches( |
|
|
xfileshare_urls, video_id, video_title, ie=XFileShareIE.ie_key()) |
|
|
xfileshare_urls, video_id, video_title, ie=XFileShareIE.ie_key()) |
|
|
|
|
|
|
|
|
|
|
|
cloudflarestream_urls = CloudflareStreamIE._extract_urls(webpage) |
|
|
|
|
|
if cloudflarestream_urls: |
|
|
|
|
|
return self.playlist_from_matches( |
|
|
|
|
|
cloudflarestream_urls, video_id, video_title, ie=CloudflareStreamIE.ie_key()) |
|
|
|
|
|
|
|
|
sharevideos_urls = [mobj.group('url') for mobj in re.finditer( |
|
|
sharevideos_urls = [mobj.group('url') for mobj in re.finditer( |
|
|
r'<iframe[^>]+?\bsrc\s*=\s*(["\'])(?P<url>(?:https?:)?//embed\.share-videos\.se/auto/embed/\d+\?.*?\buid=\d+.*?)\1', |
|
|
r'<iframe[^>]+?\bsrc\s*=\s*(["\'])(?P<url>(?:https?:)?//embed\.share-videos\.se/auto/embed/\d+\?.*?\buid=\d+.*?)\1', |
|
|
webpage)] |
|
|
webpage)] |
|
|