Hey! For lazy-loaded images, you might wanna look into `Playwright`. It’s like Selenium but faster and easier to set up. You can use it to scroll and wait for images to load.
For relative URLs, yeah, `urljoin` is the way to go. Also, don’t forget to handle cases where the `src` attribute might be missing or empty.
If you’re scraping a lot of sites, consider using a proxy service like ScraperAPI to avoid getting blocked.
For relative URLs, yeah, `urljoin` is the way to go. Also, don’t forget to handle cases where the `src` attribute might be missing or empty.
If you’re scraping a lot of sites, consider using a proxy service like ScraperAPI to avoid getting blocked.
