Python Requests-html: Render Html With Cookies
What I'm trying to do: from requests_html import HTMLSession with HTMLSession() as s: s.get('url', cookies=my_cookie_jar) s.html.render() print(s.html.html) I want to
Solution 1:
Yes, you can, by using the kwarg cookies in render method.
s.html.render(cookies=my_cookie_jar)
Post a Comment for "Python Requests-html: Render Html With Cookies"