简体   繁体   中英

Local Storage of a website for scraping data

I am currently trying to get information into the Local Storage of a website for data scraping but I don't know how to do it with selenium python and I have already tried to make it by looking at (StackOverflow question) but can't really find an answer, can someone help me or can show me on discord, Thank you. -BAD#8938

Write to local storage:

localStorage.setItem('my_item','my_data_string')

All you need to do is to pass the string you want to store.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM