qsniyg / maxurl

Finds larger/original versions of images and videos
https://qsniyg.github.io/maxurl/
Apache License 2.0
1.14k stars 73 forks source link

fix kemono and coomer being slow/unresponsive #1277

Closed vscum closed 9 months ago

vscum commented 9 months ago

kemono.party and coomer.party have been changed to .su domains. this also patches the slow search from previously using domain_nosub to domain_now. this is not a new rule, just a changed one that already exists

        if(domain_nowww === "kemono.party" ||
                domain_nowww === "kemono.su" ||
                domain_nowww === "coomer.party" ||
            domain_nowww === "coomer.su") {
            newsrc = src.replace(/\/thumbnail\/+data\/+/, "/data/");
            if (newsrc !== src)
                return newsrc.replace(/:\/\/img\./, "://c1.");
        }
qsniyg commented 9 months ago

Thanks for reporting. Does this commit not work for you? https://github.com/qsniyg/maxurl/commit/7d72ec66f2988eed66b507f5e83b30c508a7d154

There shouldn't be any speed difference between domain_nosub and domain_nowww. Using domain_nowww will miss quite a few subdomains that were used by them.

vscum commented 9 months ago

Thanks for reporting. Does this commit not work for you? 7d72ec6

i have the userscript set to update through violentmonkey, so it hadnt updated to this beta (?) version. i will try this.

qsniyg commented 9 months ago

I'll tentatively close this issue, as it should work properly. If it doesn't, please let me know :)