Replies: 1 comment
-
Hello! article = NewsPlease.from_url(url='example.com', user_agent='mozila') I haven't find ability to set cookies for request. article = NewsPlease.from_html(body) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using NewsPlease with python installing with pip, is it possible to pass a configuration to the method to modify some parameters such as user-agent, cookie or other?:
config = ...
NewsPlease.from_url(url, config)
Sincerely
Beta Was this translation helpful? Give feedback.
All reactions