UnsupportedError,
xpath_text,
)
+from .commonprotocols import RtmpIE
from .brightcove import (
BrightcoveLegacyIE,
BrightcoveNewIE,
def check_video(vurl):
if YoutubeIE.suitable(vurl):
return True
+ if RtmpIE.suitable(vurl):
+ return True
vpath = compat_urlparse.urlparse(vurl).path
vext = determine_ext(vpath)
return '.' in vpath and vext not in ('swf', 'png', 'jpg', 'srt', 'sbv', 'sub', 'vtt', 'ttml', 'js')
entries.append(self.url_result(video_url, 'Youtube'))
continue
+ if RtmpIE.suitable(video_url):
+ entries.append(self.url_result(video_url, RtmpIE.ie_key()))
+ continue
+
# here's a fun little line of code for you:
video_id = os.path.splitext(video_id)[0]