简体   繁体   中英

Automatically clicking 500+ links on a website

I've requested my data from a popular social media app. There are photos they have saved and have provided download links to. I don't want to click each one individually.

What's the best option of automatically going down the entire page and "click" each download link? Python? JS?

Thanks.

Selenium or Puppeteer.

https://developers.google.com/web/tools/puppeteer
https://www.selenium.dev/

Both tools are great to automate task like this. You may also want to read this book on automating with python: https://automatetheboringstuff.com/

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