mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-08 22:42:32 -04:00
don't handle FixupM3u8?
This commit is contained in:
parent
9c55c7b4c9
commit
75e0555d43
1 changed files with 5 additions and 1 deletions
|
@ -172,12 +172,16 @@ def _build_youtube_dl(worker, destdir, site, page):
|
||||||
'guessing mimetype %s because %r', mimetype, e)
|
'guessing mimetype %s because %r', mimetype, e)
|
||||||
|
|
||||||
# youtube watch page postprocessor is MoveFiles
|
# 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':
|
if postprocessor == 'FixupM3u8':
|
||||||
url = 'youtube-dl:%05d:%s' % (
|
url = 'youtube-dl:%05d:%s' % (
|
||||||
info_dict.get('playlist_index') or 1,
|
info_dict.get('playlist_index') or 1,
|
||||||
info_dict['webpage_url'])
|
info_dict['webpage_url'])
|
||||||
else:
|
else:
|
||||||
url = info_dict.get('url')
|
'''
|
||||||
|
url = info_dict.get('url')
|
||||||
|
|
||||||
size = os.path.getsize(info_dict['filepath'])
|
size = os.path.getsize(info_dict['filepath'])
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue