From f1be31fa800a3a62c2d9e72c7f77e4d921f9dada Mon Sep 17 00:00:00 2001 From: spookyahell <9724215+spookyahell@users.noreply.github.com> Date: Thu, 16 Mar 2023 01:18:22 +0100 Subject: [PATCH] Fixes for flake8 --- yt_dlp/extractor/wdr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/wdr.py b/yt_dlp/extractor/wdr.py index 087abe17e..095de61f2 100644 --- a/yt_dlp/extractor/wdr.py +++ b/yt_dlp/extractor/wdr.py @@ -59,7 +59,7 @@ class WDRIE(InfoExtractor): formats = [] subtitles = {} - + # list to track the urls and ensure that not a second manifest url with the same value is added avoid_duplicate_manifest_urls = [] @@ -77,11 +77,11 @@ class WDRIE(InfoExtractor): continue if not isinstance(media, dict): continue - + for tag_name, medium_url in media.items(): if tag_name not in ('videoURL', 'audioURL'): continue - + if medium_url not in avoid_duplicate_manifest_urls: avoid_duplicate_manifest_urls.append(medium_url) else: