mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-20 13:24:16 -07:00
Ant1NewsGrEmbedIE._extract_urls: Simplify redundant statement
This commit is contained in:
parent
264544f90e
commit
3872619ed5
1 changed files with 1 additions and 3 deletions
|
@ -165,9 +165,7 @@ class Ant1NewsGrEmbedIE(Ant1NewsGrBaseIE):
|
||||||
url = '%s:%s' % (scheme, url)
|
url = '%s:%s' % (scheme, url)
|
||||||
if not cls.suitable(url):
|
if not cls.suitable(url):
|
||||||
continue
|
continue
|
||||||
if isinstance(parent_info, dict):
|
yield cls._smuggle_parent_info(url, **parent_info)
|
||||||
url = cls._smuggle_parent_info(url, **parent_info)
|
|
||||||
yield url
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
url, parent_info = type(self)._unsmuggle_parent_info(url)
|
url, parent_info = type(self)._unsmuggle_parent_info(url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue