fix: Update Firefox User-Agent string (#4546)

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
Ryan William O'Hara
2024-11-17 07:10:11 -07:00
committed by GitHub
parent 172698afce
commit db4789099a
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ try:
_FIREFOX_UA = HEADERS["User-Agent"]
except (ImportError, KeyError):
_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/128.0"
async def gather_with_concurrency(n, *coros, ignore_exceptions=False):

View File

@@ -26,7 +26,7 @@ try:
_FIREFOX_UA = HEADERS["User-Agent"]
except (ImportError, KeyError):
_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/128.0"
SCRAPER_TIMEOUT = 15