Steam Workshop Downloader (Skymods/Modsbase)

Download mod via skymods.ru and modsbase.com directly from steam workshop

< 脚本Steam Workshop Downloader (Skymods/Modsbase)的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发表于:2025-03-13
编辑于:2025-03-13

Right now it can't parse the mod addresses for Stellaris, HoI4 and Cities:Skylines because they have custom addresses. A quick and dirty solution I made was to use if statements.

Code:

function searchForMod(id, callback) {
var appId = getAppId();

var url = "https://catalogue.smods.ru/?s=" + id + "&app=" + appId;

if (appId == 255710) {
url = "https://smods.ru/?s="+id + "&app=" + appId;
}
else if(appId == 281990) {
url = "https://stellaris.smods.ru/?s="+id;
}
else if(appId == 394360) {
url = "https://hearts-of-iron-4.smods.ru/?s="+id + "&app=" + appId;
}

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址