summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-03-07 18:26:08 +0100
committerYorhel <git@yorhel.nl>2020-03-07 18:26:19 +0100
commit141d1317ff1edaec3ad330590e41335687dfd69a (patch)
treea729b983613ceb8e3c65658f0a85e43bac8e1e2d
parentd3bdd5f9609e5029001372dff4c2379b5dacb844 (diff)
ExtLinks: Improve gyutto and getchudl regexes
https://vndb.org/t13610.30
-rw-r--r--lib/VNDB/ExtLinks.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/ExtLinks.pm b/lib/VNDB/ExtLinks.pm
index 36ce10a6..534d47dc 100644
--- a/lib/VNDB/ExtLinks.pm
+++ b/lib/VNDB/ExtLinks.pm
@@ -109,7 +109,7 @@ our %LINKS = (
, regex => qr{jastusa\.com/([a-z0-9-]+)} },
l_gyutto => { label => 'Gyutto'
, fmt => 'https://gyutto.com/i/item%d'
- , regex => qr{gyutto\.com/i/item([0-9]+).*} },
+ , regex => qr{gyutto\.com/(?:.+\/)?i/item([0-9]+).*} },
l_digiket => { label => 'Digiket'
, fmt => 'https://www.digiket.com/work/show/_data/ID=ITM%07d/'
, regex => qr{digiket\.com/.*ITM([0-9]{7}).*} },
@@ -125,7 +125,7 @@ our %LINKS = (
, regex => qr{getchu\.com/soft\.phtml\?id=([0-9]+).*} },
l_getchudl => { label => 'DL.Getchu'
, fmt => 'http://dl.getchu.com/i/item%d'
- , regex => qr{dl\.getchu\.com/i/item([0-9]+).*} },
+ , regex => qr{(?:dl|order)\.getchu\.com/i/item([0-9]+).*} },
l_dmm => { label => 'DMM'
, fmt => 'https://%s'
, regex => qr{((?:dlsoft\.)?dmm\.(?:com|co\.jp)/[^\s]+)}