🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix(fingerprints): Fixing headers generation for requests
Karim shoair2bdee6000417
diff --git a/scrapling/engines/toolbelt/fingerprints.py b/scrapling/engines/toolbelt/fingerprints.pyindex a623039..a074221 100644--- a/scrapling/engines/toolbelt/fingerprints.py+++ b/scrapling/engines/toolbelt/fingerprints.py@@ -53,7 +53,7 @@ def generate_headers(browser_mode: bool = False) -> Dict:os_name = get_os_name()browsers = [Browser(name="chrome", min_version=130)]if not browser_mode:- os_name = None+ os_name = ("windows", "macos", "linux")browsers.extend([Browser(name="firefox", min_version=130),