[openload] Fix domains regex
This commit is contained in:
parent
71f47617c8
commit
cc73d5ad15
1 changed files with 5 additions and 4 deletions
|
@ -243,12 +243,13 @@ class PhantomJSwrapper(object):
|
||||||
|
|
||||||
|
|
||||||
class OpenloadIE(InfoExtractor):
|
class OpenloadIE(InfoExtractor):
|
||||||
_DOMAINS = r'''(?x)
|
_DOMAINS = r'''
|
||||||
(?:
|
(?:
|
||||||
openload\.(?:co|io|link|pw)|
|
openload\.(?:co|io|link|pw)|
|
||||||
oload\.(?:tv|best|biz|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|press|pw|life|live|space|services|website|vip)|
|
oload\.(?:tv|best|biz|stream|site|xyz|win|download|cloud|cc|icu|fun|club|info|press|pw|life|live|space|services|website|vip)|
|
||||||
oladblock\.(?:services|xyz|me)|openloed\.co)
|
oladblock\.(?:services|xyz|me)|openloed\.co
|
||||||
'''
|
)
|
||||||
|
'''
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?P<host>
|
(?P<host>
|
||||||
|
@ -396,7 +397,7 @@ class OpenloadIE(InfoExtractor):
|
||||||
@classmethod
|
@classmethod
|
||||||
def _extract_urls(cls, webpage):
|
def _extract_urls(cls, webpage):
|
||||||
return re.findall(
|
return re.findall(
|
||||||
r'<iframe[^>]+src=["\']((?:https?://)?%s/%s/[a-zA-Z0-9-_]+)'
|
r'(?x)<iframe[^>]+src=["\']((?:https?://)?%s/%s/[a-zA-Z0-9-_]+)'
|
||||||
% (cls._DOMAINS, cls._EMBED_WORD), webpage)
|
% (cls._DOMAINS, cls._EMBED_WORD), webpage)
|
||||||
|
|
||||||
def _extract_decrypted_page(self, page_url, webpage, video_id):
|
def _extract_decrypted_page(self, page_url, webpage, video_id):
|
||||||
|
|
Loading…
Reference in a new issue