addurl, youtube-dl: When --check-raw prevents downloading an url, still continue with any downloads that come after it, rather than erroring out
Sponsored-By: Mark Reidenbach on Patreon
This commit is contained in:
parent
9a1f14e6f0
commit
01a5ee6998
3 changed files with 26 additions and 21 deletions
|
@ -202,7 +202,7 @@ performDownload' started addunlockedmatcher opts cache todownload = case locatio
|
|||
let f' = fromRawFilePath f
|
||||
r <- Remote.claimingUrl url
|
||||
if Remote.uuid r == webUUID || rawOption (downloadOptions opts)
|
||||
then checkRaw Nothing (downloadOptions opts) $ do
|
||||
then checkRaw (Just url) (downloadOptions opts) Nothing $ do
|
||||
let dlopts = (downloadOptions opts)
|
||||
-- force using the filename
|
||||
-- chosen here
|
||||
|
@ -341,7 +341,7 @@ performDownload' started addunlockedmatcher opts cache todownload = case locatio
|
|||
, downloadlink False
|
||||
)
|
||||
where
|
||||
downloadlink started' = checkRaw Nothing (downloadOptions opts) $
|
||||
downloadlink started' = checkRaw (Just linkurl) (downloadOptions opts) False $
|
||||
performDownload' started' addunlockedmatcher opts cache todownload
|
||||
{ location = Enclosure linkurl }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue