{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/8"}],"enrichment":{"capability":"Generates realistic User-Agent strings and HTTP headers locally without making internet requests, supporting customization by browser (Chrome, Firefox, Opera) and OS (Windows, macOS, Linux).","skillfed_tags":["user-agent","web-scraping","http-headers"],"use_cases":["Web scraping where the target site blocks requests with missing or suspicious User-Agent headers","Testing HTTP client code that needs to simulate requests from different browsers without mocking","Rotating User-Agent strings in automated HTTP requests to avoid detection as a bot","Local development and testing that requires realistic browser headers without external dependencies"],"what_it_does":"fake-headers is a lightweight Python library that generates realistic HTTP headers and User-Agent strings without requiring internet access. It uses bs4 and html5lib to parse and construct headers that mimic real browsers (Chrome, Firefox, Opera) across different operating systems (Windows, macOS, Linux). The package is designed for scenarios where you need to make HTTP requests appear to come from a real browser rather than a script.\n\nYou instantiate a Headers object with optional parameters specifying which browser and OS to simulate, then call generate() to get a dictionary of headers ready to pass to HTTP libraries like requests. The package can optionally include additional headers beyond User-Agent, such as Accept, Accept-Language, and Cache-Control. However, the package has been abandoned since mid-2019, so the User-Agent strings and header patterns it generates may not reflect current browser behavior.","worth_installing":"Yes, if you need a simple, dependency-light way to generate User-Agent strings for local testing or scraping. No, if you need current, maintained header generation\u2014the package is abandoned and its User-Agent strings are from 2019 browsers. Consider it only for projects where outdated headers are acceptable or where you control the target server."},"id":"fake-headers","links":{"html":"https://skillfed.io/packages/fake-headers","md":"https://skillfed.io/packages/fake-headers.md","pypi":"https://pypi.org/project/fake-headers/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-06-16","license_spdx":null,"license_treatment":"permissive","name":"fake-headers","python_support":"unspecified","summary":"Package for generate headers to http requests."},"popularity":{"monthly_downloads":73481,"position":14990,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
