[common] update 'browser' user-agents and headers

support Firefox 140 ESR and Chrome/Chromium 138
This commit is contained in:
Mike Fährmann
2025-07-06 19:41:37 +02:00
parent ed64b484ff
commit 05b0a25120
2 changed files with 145 additions and 87 deletions

View File

@@ -685,6 +685,7 @@ Default
* ``"firefox"``: ``artstation``, ``fanbox``, ``twitter``
* ``null``: otherwise
Example
* ``"firefox/128:linux"``
* ``"chrome:macos"``
Description
Try to emulate a real browser (``firefox`` or ``chrome``)
@@ -693,6 +694,15 @@ Description
Optionally, the operating system used in the ``User-Agent`` header can be
specified after a ``:`` (``windows``, ``linux``, or ``macos``).
Supported browsers:
* ``firefox``
* ``firefox/140``
* ``firefox/128``
* ``chrome``
* ``chrome/138``
* ``chrome/111``
Note:
This option sets custom
`headers <extractor.*.headers_>`__