Hey! I’ve been using wget scrape urls for years, and here’s my go-to setup:
- Always use `--limit-rate` to avoid hammering the server.
- For recursive downloads, I set `-l` and `--reject` to filter out junk.
- If you’re getting blocked, try rotating user agents with `--user-agent`.
Also, if you’re scraping a lot, consider using a headless browser like Puppeteer. It’s more complex but way better for dynamic sites.
Good luck with your project!
- Always use `--limit-rate` to avoid hammering the server.
- For recursive downloads, I set `-l` and `--reject` to filter out junk.
- If you’re getting blocked, try rotating user agents with `--user-agent`.
Also, if you’re scraping a lot, consider using a headless browser like Puppeteer. It’s more complex but way better for dynamic sites.
Good luck with your project!
