恶意爬虫怎么封UA
1.92.200.205 - - [27/Jan/2025:11:15:18 +0800] "GET /xx HTTP/1.1" 200 5090 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" 116.204.33.148 - - [27/Jan/2025:11:15:26 +0800] "GET /xx HTTP/1.1" 200 6718 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
116.204.82.155 - - [27/Jan/2025:11:15:26 +0800] "GET /xx HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
116.204.83.110 - - [27/Jan/2025:11:15:30 +0800] "GET /xx HTTP/1.1" 200 6598 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
突然来了这么多的爬虫,怎么封UA,如果封Chrome/58.0.3029.110可能会影响其他用户,IP不固定
116.204.82.155 - - [27/Jan/2025:11:15:26 +0800] "GET /xx HTTP/1.1" 200 6637 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
116.204.83.110 - - [27/Jan/2025:11:15:30 +0800] "GET /xx HTTP/1.1" 200 6598 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
突然来了这么多的爬虫,怎么封UA,如果封Chrome/58.0.3029.110可能会影响其他用户,IP不固定