[extractor/generic] Add support for videomore embeds
This commit is contained in:
parent
030dfb04e0
commit
ff18735cb2
|
@ -54,6 +54,7 @@ from .snagfilms import SnagFilmsEmbedIE
|
||||||
from .screenwavemedia import ScreenwaveMediaIE
|
from .screenwavemedia import ScreenwaveMediaIE
|
||||||
from .mtv import MTVServicesEmbeddedIE
|
from .mtv import MTVServicesEmbeddedIE
|
||||||
from .pladform import PladformIE
|
from .pladform import PladformIE
|
||||||
|
from .videomore import VideomoreIE
|
||||||
from .googledrive import GoogleDriveIE
|
from .googledrive import GoogleDriveIE
|
||||||
from .jwplatform import JWPlatformIE
|
from .jwplatform import JWPlatformIE
|
||||||
from .ultimedia import UltimediaIE
|
from .ultimedia import UltimediaIE
|
||||||
|
@ -1743,6 +1744,11 @@ class GenericIE(InfoExtractor):
|
||||||
if pladform_url:
|
if pladform_url:
|
||||||
return self.url_result(pladform_url)
|
return self.url_result(pladform_url)
|
||||||
|
|
||||||
|
# Look for Videomore embeds
|
||||||
|
videomore_url = VideomoreIE._extract_url(webpage)
|
||||||
|
if videomore_url:
|
||||||
|
return self.url_result(videomore_url)
|
||||||
|
|
||||||
# Look for Playwire embeds
|
# Look for Playwire embeds
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
r'<script[^>]+data-config=(["\'])(?P<url>(?:https?:)?//config\.playwire\.com/.+?)\1', webpage)
|
r'<script[^>]+data-config=(["\'])(?P<url>(?:https?:)?//config\.playwire\.com/.+?)\1', webpage)
|
||||||
|
|
Loading…
Reference in New Issue