Add python(-requests) to bot detection

This commit is contained in:
dangered wolf 2022-08-09 03:10:49 -04:00
parent 473d15fe92
commit 0d441ad906
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -18,7 +18,7 @@ const statusRequest = async (
const isBotUA =
userAgent.match(
/bot|facebook|embed|got|firefox\/92|curl|wget|go-http|yahoo|generator|whatsapp|preview|link|proxy|vkshare|images|analyzer|index|crawl|spider/gi
/bot|facebook|embed|got|firefox\/92|curl|wget|go-http|yahoo|generator|whatsapp|preview|link|proxy|vkshare|images|analyzer|index|crawl|spider|python/gi
) !== null;
if (