~/talk

Powerful Web Scraping and Searching with Python

Talkat Swiss Python Summit 2016 · on Friday, 2016-02-05· [python, search]
links:none on file
slides:none on file

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

  1. 0:00Intro
  2. 1:53Chronometer providers
  3. 2:17The problem
  4. 2:36Examples
  5. 2:53Vision
  6. 3:15REST API
  7. 3:44Running site example
  8. 5:04Why scrape
  9. 6:40Building blocks of scraping
  10. 7:49What do we need
  11. 10:03Getting URLs
  12. 12:13Using Dev Tools
  13. 12:45Running Results
  14. 13:49Regular Expressions
  15. 14:03Parse
  16. 15:00Items
  17. 15:59Data Processes
  18. 17:22Pipelines
  19. 19:03Scrap Shell
  20. 19:39Scrap Cloud
  21. 20:09Contracts
  22. 20:47Elastic Search
  23. 21:50Elastic Search Building Blocks
  24. 23:23Retrieve Running Results
  25. 25:24Search Expression
  26. 25:44Demonstration
  27. 27:34Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.