remove redundant meter
This was stacked with another one, resulting in an extra newline
This commit is contained in:
parent
b4a2bcaf4c
commit
4cda021acc
1 changed files with 1 additions and 2 deletions
|
@ -261,8 +261,7 @@ downloadWeb o url urlinfo file =
|
||||||
go =<< downloadWith' downloader urlkey webUUID url (AssociatedFile (Just file))
|
go =<< downloadWith' downloader urlkey webUUID url (AssociatedFile (Just file))
|
||||||
where
|
where
|
||||||
urlkey = addSizeUrlKey urlinfo $ Backend.URL.fromUrl url Nothing
|
urlkey = addSizeUrlKey urlinfo $ Backend.URL.fromUrl url Nothing
|
||||||
downloader f p = metered (Just p) urlkey (pure Nothing) $
|
downloader f p = downloadUrl urlkey p [url] f
|
||||||
\_ p' -> downloadUrl urlkey p' [url] f
|
|
||||||
go Nothing = return Nothing
|
go Nothing = return Nothing
|
||||||
-- If we downloaded a html file, try to use youtube-dl to
|
-- If we downloaded a html file, try to use youtube-dl to
|
||||||
-- extract embedded media.
|
-- extract embedded media.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue