Use Established requests.Session in save_website #116
-
Is it possible to use an already created sessions object when calling save_website? In order to get past a login screen I have to get a value from the login page and pass it as a value when logging in. I can do that with requests but I don't see a good way to do it inside of pywebcopy. Here's the code I have but the save_website is just getting the login screen:
|
Beta Was this translation helpful? Give feedback.
Answered by
rajatomar788
Jun 27, 2023
Replies: 1 comment 3 replies
-
Hey @james0048
You can use the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
james0048
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @james0048
You can use the
webpage.session
object which is arequests
library session that you are using. So …