Skip to content

Commit

Permalink
Merge pull request #16936 from SergioGlorias/patch-61
Browse files Browse the repository at this point in the history
add undici in http lib
  • Loading branch information
ornicar authored Feb 10, 2025
2 parents ee84174 + 68f23ca commit 8c7543f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/common/src/main/HTTPRequest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ object HTTPRequest:
// spiders/crawlers
"""Googlebot|GoogleOther|AdsBot|Google-Read-Aloud|bingbot|BingPreview|facebookexternalhit|meta-externalagent|SemrushBot|AhrefsBot|PetalBot|Applebot|YandexBot|YandexAdNet|YandexImages|Twitterbot|Baiduspider|Amazonbot|Bytespider|yacybot|ImagesiftBot|ChatGLM-Spider|YisouSpider|Yeti/""" +
// http libs
"""|HeadlessChrome|okhttp|axios|wget|curl|python-requests|aiohttp|commons-httpclient|python-urllib|python-httpx|Nessus|imroc/req"""
"""|HeadlessChrome|okhttp|axios|undici|wget|curl|python-requests|aiohttp|commons-httpclient|python-urllib|python-httpx|Nessus|imroc/req"""

final class UaMatcher(rStr: String):
private val pattern = rStr.r.pattern
Expand Down

0 comments on commit 8c7543f

Please sign in to comment.