L
L
LordOftheCode2021-11-09 11:24:56
Python
LordOftheCode, 2021-11-09 11:24:56

How to load cookies from json in python requests?

There is a json file with my cookies, I want to use them to go to the site (instagram.com), but there was a problem, how to load these cookies into the request session?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-11-09
@LordOftheCode

Depends on the library used. Are you talking about requests, or what? Never translate titles.
And in general, as always, read the documentation . The .get()/.post() methods have a cookies parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question