|
|
@ -830,7 +830,8 @@ class GenericIE(InfoExtractor):
|
|
|
|
if m_video_type is not None:
|
|
|
|
if m_video_type is not None:
|
|
|
|
def check_video(vurl):
|
|
|
|
def check_video(vurl):
|
|
|
|
vpath = compat_urlparse.urlparse(vurl).path
|
|
|
|
vpath = compat_urlparse.urlparse(vurl).path
|
|
|
|
return '.' in vpath and not vpath.endswith('.swf')
|
|
|
|
vext = determine_ext(vpath)
|
|
|
|
|
|
|
|
return '.' in vpath and vext not in ('swf', 'png', 'jpg')
|
|
|
|
found = list(filter(
|
|
|
|
found = list(filter(
|
|
|
|
check_video,
|
|
|
|
check_video,
|
|
|
|
re.findall(r'<meta.*?property="og:video".*?content="(.*?)"', webpage)))
|
|
|
|
re.findall(r'<meta.*?property="og:video".*?content="(.*?)"', webpage)))
|
|
|
|