Powerful Web Scraping and Searching with Python
summary
Builds a full pipeline that scrapes Swiss race websites with Scrapy + Elasticsearch pipeline, parses messy HTML into structured items using item loaders and a small parser (pyparsing) to extract times, paces and ranks, and indexes about 210,000 run results for fast queries. A custom query language is parsed with pyparsing query DSL into Elasticsearch queries; demo returns precise hits (ten-example queries) and supports aggregations and completion, prototype works but is not production hardened.
AI-written summary · about
chapters (27)
- 0:00Intro
- 1:53Chronometer providers
- 2:17The problem
- 2:36Examples
- 2:53Vision
- 3:15REST API
- 3:44Running site example
- 5:04Why scrape
- 6:40Building blocks of scraping
- 7:49What do we need
- 10:03Getting URLs
- 12:13Using Dev Tools
- 12:45Running Results
- 13:49Regular Expressions
- 14:03Parse
- 15:00Items
- 15:59Data Processes
- 17:22Pipelines
- 19:03Scrap Shell
- 19:39Scrap Cloud
- 20:09Contracts
- 20:47Elastic Search
- 21:50Elastic Search Building Blocks
- 23:23Retrieve Running Results
- 25:24Search Expression
- 25:44Demonstration
- 27:34Questions
