mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
feat(labrinth): add Resourcify and OneClient download source (#7217)
feat: add Resourcify and OneClient user agents
This commit is contained in:
@@ -661,6 +661,8 @@ static DOWNLOAD_SOURCE_PATTERNS: LazyLock<Vec<(Regex, DownloadSourcePattern)>> =
|
||||
(r"^DawnLauncher/", P::Named("Dawn")),
|
||||
(r"^Complementary-Installer", P::Named("Complementary Installer")),
|
||||
(r"^noriskclient-launcher-v3/", P::Named("NoRisk Client")),
|
||||
(r"^Resourcify/", P::Named("Resourcify")),
|
||||
(r"^OneClient", P::Named("OneClient")),
|
||||
(
|
||||
r"^(Mozilla/|Chrome/|Chromium/|Firefox/|Safari/|AppleWebKit/|Edg/|OPR/)",
|
||||
P::Website,
|
||||
|
||||
Reference in New Issue
Block a user