mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-12-21 11:25:55 -05:00
minimal fix for current vimeo capture
This commit is contained in:
parent
3fc48a9aa8
commit
1980573f9e
1 changed files with 4 additions and 4 deletions
|
|
@ -171,15 +171,15 @@ def _build_youtube_dl(worker, destdir, site, page):
|
||||||
|
|
||||||
# youtube watch page postprocessor is MoveFiles
|
# youtube watch page postprocessor is MoveFiles
|
||||||
|
|
||||||
if postprocessor == 'FixupM3u8':
|
if postprocessor == 'FixupM3u8' or postprocessor == 'Merger':
|
||||||
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', '')
|
||||||
|
|
||||||
# skip urls ending .m3u8, to avoid duplicates handled by FixupM3u*
|
# skip urls ending .m3u8, to avoid duplicates handled by FixupM3u8
|
||||||
if url.endswith('.m3u8'):
|
if url.endswith('.m3u8') or url == '':
|
||||||
return
|
return
|
||||||
|
|
||||||
size = os.path.getsize(info_dict['filepath'])
|
size = os.path.getsize(info_dict['filepath'])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue