3:34

In this introductory lesson, the instructor explains why a concise, program‑friendly syntax is required to translate human‑readable HTML navigation into code for web scraping. The focus is on XPath, one of the two most common selector languages. The speaker draws parallels between XPath’s single forward slash (/) and directory or URL navigation, showing that it moves one level down the HTML tree. Bracket notation is introduced to index sibling elements, illustrated by selecting the second <div> among several children of <body>. The double forward slash (//) is then presented as a way to select all descendants of a node, such as all <table> elements anywhere under a specific <div>. The lesson emphasizes that XPath is language‑agnostic, usable from Python, R, and other environments, and that these basics are sufficient to start writing simple scraping code.

Chapters

More from Richie

youtube.com

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

5mo ago
youtube.com

17.8% of the World Now Uses AI — And the Gap Is Widening | The Median #5

5mo ago
youtube.com

Create GPTs to Automate Go-To-Market Research

5mo ago
youtube.com

What Happened to Self-Driving Cars? #AI

5mo ago
youtube.com

Never Use AI For This #warning #AI #flights

5mo ago
youtube.com

Use AI Agents to Analyze Power Grid Optimization

5mo ago
youtube.com

This is how modern AI actually solves problems #AITrends #AI

5mo ago
youtube.com

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

Build an AI‑driven Dashboard

5mo ago
youtube.com

What’s Broken in Labor Markets Today #datascience

5mo ago
See all content