
Master the basics of XPath, including syntax and building XPath expressions for web scraping. Compare relative and absolute XPath, single and double slashes, and understand parents and siblings logic.
Master XPath techniques by starting from a child element and navigating to its parent or to preceding and following siblings, using index-based selection and the parent, preceding-sibling, and following-sibling axes.
Discover selenium basics, its use cases for testing automation and web scraping, after setting up chrome driver and jupiter notebook, with locator strategies like XPath, class name, and id.
Install and import Selenium packages, including WebDriver, Keys, By, and Options, to initialize the Chrome driver, store URLs in variables, and open them for web scraping practice.
Explore Selenium in action to automate web interactions for data scraping, including launching the driver, navigating pages, performing searches, clicking links, and closing the browser, with an optional headless mode.
Set up the driver, import the necessary packages, handle cookies, build locators, create a data frame, and store the scraped data in an Excel file.
Save the cleaned data frame to an Excel file named pokemon_database_cleaned.xlsx without an index, preserving the scraped Pokémon data and allowing quick formatting and review.
In this Course you will learn the Fundamentals of XPath, Selenium and the Web Scraping Process. We will cover the Fundamentals and afterwards we are going to scrape Data from real Websites. The first Real Life Project will be the extraction of Data from Yelp and the next Project will cover the scraping process of tables. But before we start with this Real Life Projects, you will get familiar to all the basic knowledge which is required to complete it. Whenever you have a question, don't hesitate to ask in the forum section. Either me or the other students will reply to your question as soon as possbile.
After completing this course you will be confident using Selenium for Web Scraping in your personal Projects. Especially for Data Scientists it is important to be able to extract the data they need to analyze and work with. You will get downloadable files so that you can refer to all topics which we have covered through this course. This course will be updated on a reglular basis. My goal is that all my students understand the Concepts of Selenium, XPath and the whole Web Scraping Process. For this course it's good to know the very basics of Python Programming.
Disclaimer : I teach web scraping as a tutor for educational purposes. That's it.
The first rule of scraping the web is: do not harm a certain website. The second rule of web crawling is: do NOT harm a certain website.