mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-27 09:58:22 +03:00
ua
This commit is contained in:
@@ -10,7 +10,7 @@ export function parseUserAgent(userAgent: string): string {
|
||||
return revanced[0];
|
||||
}
|
||||
|
||||
if (ua.match(/(mpv_sponsorblock\/)|(^python-requests)|(^GuzzleHttp\/)|(^PostmanRuntime\/)/)) {
|
||||
if (ua.match(/(mpv_sponsorblock)|(^python-requests)|(^GuzzleHttp\/)|(^PostmanRuntime\/)/)) {
|
||||
return ua;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user