Added support for reddituploads.com. Changed default sorting to 'new'.

This commit is contained in:
DebaucheryLibrarian 2024-09-11 05:16:53 +02:00
parent 68435762d0
commit 7e6828bd63
2 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module.exports = {
slashSubstitute: '#',
},
fetch: {
sort: 'top',
sort: 'new',
limit: 1000,
avoidDuplicates: true
},

View File

@ -10,6 +10,10 @@ const hosts = [{
method: 'reddit',
label: 'reddit',
pattern: new urlPattern('http(s)\\://i.redd.it/:id.:ext')
}, {
method: 'reddit',
label: 'reddit',
pattern: new urlPattern('https\\://i.reddituploads.com/:id?(fit=:fit)(&h=:height)(&w=:width)(&s=:signature)')
}, {
method: 'imgurImage',
label: 'imgur',