1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 15:23:13 +00:00

[ndr-daserste] flake8

This commit is contained in:
Unknown 2020-09-12 01:12:39 +02:00
parent dc9d8f44d6
commit 921dc153f3

View file

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