Python Forum
python scraping all cookies - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: python scraping all cookies (/thread-16381.html)



python scraping all cookies - halberdd - Feb-26-2019

iam trying to post some data to api. but after 3-4 posting, website blocking me and it says you dont have to permission to access. i have a cookies sections on my codes. when i changed these cookies section manually i can post some data again. but i have to change cookies automatically.

iam using these codes to get cookies but its just parsing a little bit of cookies. i wanna parse all of them.

session = requests.Session()
response = session.get(url)
cookiess = session.cookies.get_dict()
website url which im trying to get cookies = https://www.dell.com/support/orders/us/en/04/Returns?lwp=rt

iam right clicking on webpage, then click inspect, then go to network section and iam choosing my url. there is a "cookie" section under "request headers". i wanna parse here.

i want to parse these section. https://i.ibb.co/gzGVZYG/asd.png


RE: python scraping all cookies - halberdd - Feb-26-2019

bump problem didnt solve yet