[20detik] Fix embed URL detection
This commit is contained in:
parent
f428f2fa90
commit
6633aa7340
@ -33,7 +33,7 @@ class DuaPuluhDetikIE(InfoExtractor):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _extract_urls(webpage):
|
def _extract_urls(webpage):
|
||||||
return [m.group('url') for m in re.finditer(
|
return [m.group('url') for m in re.finditer(
|
||||||
r'[^\']<iframe[^>]+?src=(["\'])(?P<url>https?://20\.detik\.com/embed/(\d+)[^"\']+?)\1',
|
r'<iframe[^>]+?src\s*=\s*(["\'])(?P<url>https?://20\.detik\.com/embed/\d+).+?\1',
|
||||||
webpage)]
|
webpage)]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user