summaryrefslogtreecommitdiff
path: root/lib/VNDB
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-04-09 10:37:01 +0200
committerYorhel <git@yorhel.nl>2021-04-09 10:37:03 +0200
commitcef643f4ae038d986e08133991e5bb5bba9a9841 (patch)
tree23b0a643a6a2d698641118e53d5e0a6a3de7b050 /lib/VNDB
parentc3e3e904b026900b4d2ce8086b0391248fc5249e (diff)
ExtLinks: Add UTM parameter to steam links
New Steam feature; As requested by several devs/publishers.
Diffstat (limited to 'lib/VNDB')
-rw-r--r--lib/VNDB/ExtLinks.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/ExtLinks.pm b/lib/VNDB/ExtLinks.pm
index 79b82e97..4a7b0d6e 100644
--- a/lib/VNDB/ExtLinks.pm
+++ b/lib/VNDB/ExtLinks.pm
@@ -78,6 +78,7 @@ our %LINKS = (
, regex => qr{(?:www\.)?erogetrailers\.com/soft/([0-9]+)} },
l_steam => { label => 'Steam'
, fmt => 'https://store.steampowered.com/app/%d/'
+ , fmt2 => 'https://store.steampowered.com/app/%d/?utm_source=vndb'
, regex => qr{(?:www\.)?(?:store\.steampowered\.com/app/([0-9]+)(?:/.*)?|steamcommunity\.com/(?:app|games)/([0-9]+)(?:/.*)?|steamdb\.info/app/([0-9]+)(?:/.*)?)} },
l_dlsite => { label => 'DLsite'
, fmt => 'https://www.dlsite.com/home/work/=/product_id/%s.html'