mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[ndr-daserste] flake8
This commit is contained in:
parent
dc9d8f44d6
commit
921dc153f3
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ def _extract_embed(self, webpage, display_id, id):
|
||||||
default=None) or self._search_regex(
|
default=None) or self._search_regex(
|
||||||
r'\bembedUrl["\']\s*:\s*(["\'])(?P<url>(?:(?!\1).)+)\1', webpage,
|
r'\bembedUrl["\']\s*:\s*(["\'])(?P<url>(?:(?!\1).)+)\1', webpage,
|
||||||
'embed URL', fatal=False, group='url')
|
'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())
|
return self.url_result('ndr:%s' % id, ie=NDREmbedBaseIE.ie_key())
|
||||||
description = self._search_regex(
|
description = self._search_regex(
|
||||||
r'<p[^>]+itemprop="description">([^<]+)</p>',
|
r'<p[^>]+itemprop="description">([^<]+)</p>',
|
||||||
|
|
Loading…
Reference in a new issue