There are a lot of options and a bunch of different schools of thought. Here are a few ideas.https://www.reddit.com/r/webscraping/
(https://www.reddit.com/r/webscraping/)
Why Python?
Straightforward syntax and an a bunch of libraries tailored to and for scraping (BeautifulSoup (BS4) and Requests). BS4 and Requests can do a ton... again know your needs. BeautifulSoup simplifies HTML parsing, while Requests is key for making HTTP requests and fetching webpage data.
The Ultimate Guide To Building a Web Scraper With Pyppeteer:
(https://scrapeops.io/python-web-scraping-playbook/python-selenium-vs-pyppeteer/)
Selenium vs Python Pyppeteer for Web Scraping:
(https://scrapeops.io/python-web-scraping-playbook/python-selenium-vs-pyppeteer/)
Pyppeteer vs. Selenium:
Each tool has its own fans/followers for automating browser actions and scraping dynamic content.
- Pyppeteer: A Python adaptation of Puppeteer, it operates using headless Chrome and is known for its speed, especially on JavaScript-heavy sites.
- Selenium: Offers more flexibility with browser support and language options, better suited for complex browser interactions but generally slower than Pyppeteer.
Headless Browsers:
Headless browsers allow for scraping dynamic content.
Options:
puppeteer-extra-plugin-stealth (https://www.npmjs.com/package/puppeteer-extra-plugin-stealthhttps://www.npmjs.com/package/puppeteer-extra-plugin-stealth)
Pyppeteer Stealth (https://github.com/MeiK2333/pyppeteer_stealth)
Playwright for Python (https://github.com/microsoft/playwright-python) with a stealth plugin (https://pypi.org/project/playwright-stealth/)
This will get you in the right direction.