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

[feature] User agent swap #40

Closed
elogada opened this issue Jan 6, 2020 · 2 comments
Closed

[feature] User agent swap #40

elogada opened this issue Jan 6, 2020 · 2 comments

Comments

@elogada
Copy link

elogada commented Jan 6, 2020

Hey @droope

Either there's no way to change my User-agent header, or I can't find it in the help docs. Any way you can add a functionality that allows me to change the User-agent of a scan?

Thanks!

@SamJoan
Copy link
Owner

SamJoan commented Jan 6, 2020

Hi there,

I'd be willing to accept a PR for this change provided it comes with a unit test. The change would have to occur on this line.

Alternatively you can clone the repository and manually modify the DEFAULT_UA variable for your purposes.

Thanks!
Pedro

@SamJoan
Copy link
Owner

SamJoan commented Jun 28, 2020

Just so anybody who needs this knows, @kieran-github has implemented this feature into the development branch.

I will give it a test when I can and merge it into master, as well as release it into PyPi.

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

No branches or pull requests

2 participants