Added optional URL query to all external hosts in link dissection.
This commit is contained in:
parent
82b7f38336
commit
db9f6ed60c
|
@ -9,7 +9,7 @@ const hosts = [{
|
|||
}, {
|
||||
method: 'redditImage',
|
||||
label: 'reddit',
|
||||
pattern: new UrlPattern('http(s)\\://i.redd.it/:id.:ext'),
|
||||
pattern: new UrlPattern('http(s)\\://i.redd.it/:id.:ext(?*)'),
|
||||
}, {
|
||||
method: 'redditImage',
|
||||
label: 'reddit',
|
||||
|
@ -17,7 +17,7 @@ const hosts = [{
|
|||
}, {
|
||||
method: 'redditVideo',
|
||||
label: 'reddit',
|
||||
pattern: new UrlPattern('http(s)\\://v.redd.it/:id'),
|
||||
pattern: new UrlPattern('http(s)\\://v.redd.it/:id(?*)'),
|
||||
}, {
|
||||
method: 'imgurImage',
|
||||
label: 'imgur',
|
||||
|
@ -25,23 +25,23 @@ const hosts = [{
|
|||
}, {
|
||||
method: 'imgurAlbum',
|
||||
label: 'imgur',
|
||||
pattern: new UrlPattern('http(s)\\://(:subdomain.)imgur.com/:type/:id(#:focus)'),
|
||||
pattern: new UrlPattern('http(s)\\://(:subdomain.)imgur.com/:type/:id(#:focus)(?*)'),
|
||||
}, {
|
||||
method: 'vidbleImage',
|
||||
label: 'vidble',
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/(show/):id(.:ext)'),
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/(show/):id(.:ext)(?*)'),
|
||||
}, {
|
||||
method: 'vidbleVideo',
|
||||
label: 'vidble',
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/watch?v=:id'),
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/watch?v=:id(?*)'),
|
||||
}, {
|
||||
method: 'vidbleAlbum',
|
||||
label: 'vidble',
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/album/:id'),
|
||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/album/:id(?*)'),
|
||||
}, {
|
||||
method: 'gfycat',
|
||||
label: 'gfycat',
|
||||
pattern: new UrlPattern('http(s)\\://(:server.)gfycat.com/(gifs/detail/)(:id-mobile)(:id-size_restricted)(:id)(.:ext)'),
|
||||
pattern: new UrlPattern('http(s)\\://(:server.)gfycat.com/(gifs/detail/)(:id-mobile)(:id-size_restricted)(:id)(.:ext)(?*)'),
|
||||
}, {
|
||||
method: 'eroshareAlbum',
|
||||
label: 'eroshare',
|
||||
|
|
Loading…
Reference in New Issue