importfeed --relaxed: Avoid hitting the urls of items in the feed.
This commit is contained in:
parent
f30a7ccc42
commit
0f5d6c09ac
7 changed files with 16 additions and 4 deletions
|
@ -182,7 +182,7 @@ startWeb o s = go $ fromMaybe bad $ parseURI urlstring
|
|||
regulardownload url = do
|
||||
pathmax <- liftIO $ fileNameLengthLimit "."
|
||||
urlinfo <- if relaxedOption o
|
||||
then pure $ Url.UrlInfo True Nothing Nothing
|
||||
then pure Url.assumeUrlExists
|
||||
else Url.withUrlOptions (Url.getUrlInfo urlstring)
|
||||
file <- adjustFile o <$> case fileOption o of
|
||||
Just f -> pure f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue