[CSpan] Add detection for Senate ISVP. Closes #5302
This commit is contained in:
parent
f91e1a8739
commit
2fe1b5bd2a
3 changed files with 41 additions and 3 deletions
|
@ -35,6 +35,7 @@ from .rutv import RUTVIE
|
|||
from .smotri import SmotriIE
|
||||
from .condenast import CondeNastIE
|
||||
from .udn import UDNEmbedIE
|
||||
from .senateisvp import SenateISVPIE
|
||||
|
||||
|
||||
class GenericIE(InfoExtractor):
|
||||
|
@ -1365,6 +1366,11 @@ class GenericIE(InfoExtractor):
|
|||
return self.url_result(
|
||||
compat_urlparse.urljoin(url, mobj.group('url')), 'UDNEmbed')
|
||||
|
||||
# Look for Senate ISVP iframe
|
||||
senate_isvp_url = SenateISVPIE._search_iframe_url(webpage)
|
||||
if senate_isvp_url:
|
||||
return self.url_result(surl, 'SenateISVP')
|
||||
|
||||
def check_video(vurl):
|
||||
if YoutubeIE.suitable(vurl):
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue