Skip to content

Add version and platform info to User-Agent header#12

Merged
sahilsunny merged 1 commit intomainfrom
feat/informative-user-agent
Mar 24, 2026
Merged

Add version and platform info to User-Agent header#12
sahilsunny merged 1 commit intomainfrom
feat/informative-user-agent

Conversation

@kostas-jakeliunas-sb
Copy link
Copy Markdown
Contributor

Requests to our API now send a descriptive User-Agent like "scrapingbee-cli/1.2.2 Python/3.14.0 (Darwin arm64)" instead of the bare "ScrapingBee/CLI". This lets us identify CLI traffic, distinguish versions, and debug platform-specific issues from incoming API logs. Both the aiohttp client (scrape, usage, SERP commands) and the Scrapy crawl path use the same shared helper.

Requests to our API now send a descriptive User-Agent like
"scrapingbee-cli/1.2.2 Python/3.14.0 (Darwin arm64)" instead of
the bare "ScrapingBee/CLI". This lets us identify CLI traffic,
distinguish versions, and debug platform-specific issues from
incoming API logs. Both the aiohttp client (scrape, usage, SERP
commands) and the Scrapy crawl path use the same shared helper.
@sahilsunny sahilsunny merged commit 10b58fc into main Mar 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants