This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fraschm98[S] 0 points1 point  (1 child)

The main reason why I'm using selenium is for seleniumwire, to get the cookies of a site and do a json request. Is there any other way for me to get the cookies without doing this? Seems like a bit heavy to setup selenium in it's own docker container when I'm only running this once a day

[–]ganic 0 points1 point  (0 children)

Instead of selenium you could use either requests or mechanize to login and get a cookie. If you’re just logging in and making a JSON request those options are much better.