fix crash in generic extractor

This commit is contained in:
Laura Liberda 2021-02-26 18:47:47 +01:00
parent 293eada0f4
commit 67692545da
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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')