reading-notes

Class 17

Back to home page

Web scraping

Q. What are the key differences between scraping static and dynamic websites?

Q. Explain at least three techniques or best practices that can be employed to avoid getting blocked while scraping websites.

Q. What is Playwright, and how does it assist in web scraping tasks? Provide an example of a use case where Playwright would be particularly beneficial.

Q. Describe the purpose of using Xpath in web scraping, and provide an example of an Xpath expression to select a specific HTML element from a webpage.

//h1[1]

Bookmark and review

Things I want to know more about

When scraping from websites, what is the best industry practice? How can you get unblocked from data scraping if you are caught/unwanted?