fix crash in generic extractor
This commit is contained in:
parent
0b4878715c
commit
d06a708d58
|
@ -74,7 +74,7 @@ class ArcPublishingIE(InfoExtractor):
|
|||
]
|
||||
|
||||
@staticmethod
|
||||
def _extract_urls(webpage):
|
||||
def _extract_urls(webpage, **kw):
|
||||
entries = []
|
||||
# https://arcpublishing.atlassian.net/wiki/spaces/POWA/overview
|
||||
for powa_el in re.findall(r'(<div[^>]+class="[^"]*\bpowa\b[^"]*"[^>]+data-uuid="%s"[^>]*>)' % ArcPublishingIE._UUID_REGEX, webpage):
|
||||
|
|
|
@ -72,7 +72,7 @@ class MedialaanIE(InfoExtractor):
|
|||
}]
|
||||
|
||||
@staticmethod
|
||||
def _extract_urls(webpage):
|
||||
def _extract_urls(webpage, **kw):
|
||||
entries = []
|
||||
for element in re.findall(r'(<div[^>]+data-mychannels-type="video"[^>]*>)', webpage):
|
||||
mychannels_id = extract_attributes(element).get('data-mychannels-id')
|
||||
|
|
Loading…
Reference in a new issue