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',
|
method: 'redditImage',
|
||||||
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: 'redditImage',
|
method: 'redditImage',
|
||||||
label: 'reddit',
|
label: 'reddit',
|
||||||
|
@ -17,7 +17,7 @@ const hosts = [{
|
||||||
}, {
|
}, {
|
||||||
method: 'redditVideo',
|
method: 'redditVideo',
|
||||||
label: 'reddit',
|
label: 'reddit',
|
||||||
pattern: new UrlPattern('http(s)\\://v.redd.it/:id'),
|
pattern: new UrlPattern('http(s)\\://v.redd.it/:id(?*)'),
|
||||||
}, {
|
}, {
|
||||||
method: 'imgurImage',
|
method: 'imgurImage',
|
||||||
label: 'imgur',
|
label: 'imgur',
|
||||||
|
@ -25,23 +25,23 @@ const hosts = [{
|
||||||
}, {
|
}, {
|
||||||
method: 'imgurAlbum',
|
method: 'imgurAlbum',
|
||||||
label: 'imgur',
|
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',
|
method: 'vidbleImage',
|
||||||
label: 'vidble',
|
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',
|
method: 'vidbleVideo',
|
||||||
label: 'vidble',
|
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',
|
method: 'vidbleAlbum',
|
||||||
label: 'vidble',
|
label: 'vidble',
|
||||||
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/album/:id'),
|
pattern: new UrlPattern('http(s)\\://(www.)vidble.com/album/:id(?*)'),
|
||||||
}, {
|
}, {
|
||||||
method: 'gfycat',
|
method: 'gfycat',
|
||||||
label: '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',
|
method: 'eroshareAlbum',
|
||||||
label: 'eroshare',
|
label: 'eroshare',
|
||||||
|
|
Loading…
Reference in New Issue