[makertv] improve extraction
This commit is contained in:
parent
78653a33aa
commit
7cb0952474
3 changed files with 22 additions and 7 deletions
|
@ -53,6 +53,7 @@ from .onionstudios import OnionStudiosIE
|
|||
from .snagfilms import SnagFilmsEmbedIE
|
||||
from .screenwavemedia import ScreenwaveMediaIE
|
||||
from .mtv import MTVServicesEmbeddedIE
|
||||
from .jwplatform import JWPlatformIE
|
||||
|
||||
|
||||
class GenericIE(InfoExtractor):
|
||||
|
@ -1787,6 +1788,11 @@ class GenericIE(InfoExtractor):
|
|||
if snagfilms_url:
|
||||
return self.url_result(snagfilms_url)
|
||||
|
||||
# Look for JWPlatform embeds
|
||||
jwplatform_url = JWPlatformIE._extract_url(webpage)
|
||||
if jwplatform_url:
|
||||
return self.url_result(jwplatform_url, 'JWPlatform')
|
||||
|
||||
# Look for ScreenwaveMedia embeds
|
||||
mobj = re.search(ScreenwaveMediaIE.EMBED_PATTERN, webpage)
|
||||
if mobj is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue