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

This commit is contained in:
ThePendulum 2018-04-24 00:55:58 +02:00
parent a4b2888257
commit dece4b2530
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',