Added support for reddituploads.com. Changed default sorting to 'new'.
This commit is contained in:
parent
a4b2888257
commit
dece4b2530
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
slashSubstitute: '#',
|
slashSubstitute: '#',
|
||||||
},
|
},
|
||||||
fetch: {
|
fetch: {
|
||||||
sort: 'top',
|
sort: 'new',
|
||||||
limit: 1000,
|
limit: 1000,
|
||||||
avoidDuplicates: true
|
avoidDuplicates: true
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,6 +10,10 @@ const hosts = [{
|
||||||
method: 'reddit',
|
method: 'reddit',
|
||||||
label: 'reddit',
|
label: 'reddit',
|
||||||
pattern: new urlPattern('http(s)\\://i.redd.it/:id.:ext')
|
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',
|
method: 'imgurImage',
|
||||||
label: 'imgur',
|
label: 'imgur',
|
||||||
|
|
Loading…
Reference in New Issue