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

User agent #12

Closed
nomoregrapes opened this issue Nov 13, 2017 · 2 comments
Closed

User agent #12

nomoregrapes opened this issue Nov 13, 2017 · 2 comments

Comments

@nomoregrapes
Copy link

What user agent will this crawler report as?

Please can there be a setting to specify information as to who is running the crawler, and put this in the useragent. This way, website owners can contact those responsible if they are being excessively crawled.

@mrwilson
Copy link

It looks from the code like the user-agent is being set as "AdsTxtCrawler/1.0; +https://github.com/InteractiveAdvertisingBureau/adstxtcrawler"

(https://github.com/InteractiveAdvertisingBureau/adstxtcrawler/blob/master/adstxt_crawler.py#L119)

But there's currently no feature to support customising the user-agent.

@nealrichter
Copy link
Contributor

This is trivial to change in the code itself. One would expect any scaled ads company to do it...

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

No branches or pull requests

3 participants