From 75e0555d435c0d03bacfd1bf4ee2df11af8cc834 Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Fri, 15 Sep 2023 16:56:29 -0700 Subject: [PATCH] don't handle FixupM3u8? --- brozzler/ydl.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/brozzler/ydl.py b/brozzler/ydl.py index 422b72f..73457c6 100644 --- a/brozzler/ydl.py +++ b/brozzler/ydl.py @@ -172,12 +172,16 @@ def _build_youtube_dl(worker, destdir, site, page): 'guessing mimetype %s because %r', mimetype, e) # youtube watch page postprocessor is MoveFiles + # but current yt-dlp duplicates capture if we handle FixupM3u8!!! + # we'll ignore postprocessor for now... + ''' if postprocessor == 'FixupM3u8': url = 'youtube-dl:%05d:%s' % ( info_dict.get('playlist_index') or 1, info_dict['webpage_url']) else: - url = info_dict.get('url') + ''' + url = info_dict.get('url') size = os.path.getsize(info_dict['filepath']) self.logger.info(