Ignore for some garbge URLs that 404

wget guesses too much and generates bad URLs, ignore needed
pull/17/head
masterX244 11 months ago committed by GitHub
parent bea971f375
commit 520e8b95d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -123,6 +123,7 @@ allowed = function(url, parenturl)
or string.match(url, "/%?context=1$")
or string.match(url, '/"$')
or string.match(url, "^https?://[^/]+/message/compose")
or string.match(url, "www%.reddit%.com/avatar[/]?$")
or (
string.match(url, "^https?://gateway%.reddit%.com/")
and not string.match(url, "/morecomments/")

Loading…
Cancel
Save