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

Configure user-agent header #1

Open
palmerabollo opened this issue Dec 27, 2019 · 2 comments
Open

Configure user-agent header #1

palmerabollo opened this issue Dec 27, 2019 · 2 comments

Comments

@palmerabollo
Copy link

palmerabollo commented Dec 27, 2019

Hi. I wonder whether it is possible to configure the User-Agent header sent by newspaperjs.

I've seen there is a Config object that looks like the best place to configure it, but I can't find an example to tune the headers because the network.js file where it is set doesn't seem to be part of this module's public interface.

Thank you.

@flickz
Copy link
Owner

flickz commented May 16, 2020

@palmerabollo been a while I worked on this but I'm happy to look into this if you still need it configurable.

I'm really sorry for the late response, I don't know how missed this.

@palmerabollo
Copy link
Author

Thanks @flickz. I finally wrote my own crawler/parser. I still think this feature would be useful, but feel free to close this issue if you have more important things to do. Thank you for your time.

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

2 participants