[ndr-daserste] flake8

pull/8/head
Unknown 4 years ago
parent dc9d8f44d6
commit 921dc153f3

@ -93,7 +93,7 @@ class NDRIE(NDRBaseIE):
default=None) or self._search_regex(
r'\bembedUrl["\']\s*:\s*(["\'])(?P<url>(?:(?!\1).)+)\1', webpage,
'embed URL', fatal=False, group='url')
if embed_url == None:
if embed_url is None:
return self.url_result('ndr:%s' % id, ie=NDREmbedBaseIE.ie_key())
description = self._search_regex(
r'<p[^>]+itemprop="description">([^<]+)</p>',

Loading…
Cancel
Save