D
D
DAnya782021-06-08 07:48:46
Python
DAnya78, 2021-06-08 07:48:46

How to transfer cookies to python request?

Please enable JavaScript and Cookies in your browser.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2021-06-08
@SoreMix

It's not about cookies, it's about JS. There is only selenium, as suggested above

D
datka, 2021-06-08
@datka

Try like this

link_url = "Адрес твоего сайта"
headers = {'User-Agent': 'Mozilla/5.0'} 
html = requests.get(link_url, headers=headers)

If it doesn't help then look towards Selenium

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question