Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOT_NAME and the user agent #4072

Closed
mohmad-null opened this issue Oct 11, 2019 · 1 comment · Fixed by #4081
Closed

BOT_NAME and the user agent #4072

mohmad-null opened this issue Oct 11, 2019 · 1 comment · Fixed by #4081

Comments

@mohmad-null
Copy link

mohmad-null commented Oct 11, 2019

The docs for BOT_NAME say that it is used for the User agent (https://docs.scrapy.org/en/latest/topics/settings.html#std:setting-BOT_NAME) :

This will be used to construct the User-Agent by default, and also for logging.

However in reality it is not. Scrapy is using the user agent:
"Scrapy/1.7.3 (+https://scrapy.org)"

Setting USER_AGENT does change the user agent correctly.

@Gallaecio
Copy link
Member

Gallaecio commented Oct 16, 2019

Fixed by #4081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants