~/talk

Levelling Up Your Web Scraping Game

Talkat PHP UK Conference 2022 · 2022-02-16..02-18· [web-platform, php]
slides:none on file

Shows concrete choices and outcomes: prefer replaying HTTP requests over firing browsers, measures headless cost (≈250 meg RAM) and wraps puppeteer with a node web service instead of running it in PHP, uses guzzle and symphony http browser for PHP scraping, documents handling CSRF, cookies and headers, reverse engineers OAuth implicit flows and id tokens, implements pagination and edge-case checks, falls back to OCR and PDF tools (tesseract, qpdf, pdf to text) and mobile APIs when web UIs add captchas; demos run and code is on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 1:38Overview
  3. 2:34Getting Data
  4. 5:35Headless Browser
  5. 6:10Performance
  6. 10:25Edge Cases
  7. 11:54Firefox vs Chrome
  8. 14:33Demo 1 Phone Networks
  9. 16:41Demo 2 Local Calling Guide
  10. 20:38Demo 2 Edge Cases
  11. 27:07Demo 3 Insurance Details
  12. 34:42Oauth Headers
  13. 38:17Parse URL
  14. 39:02Single Request
  15. 39:58JSON Back
  16. 40:08Recap
  17. 41:50Using a real browser
  18. 44:04Browser fingerprinting
  19. 48:03Antiscraping
  20. 48:46Mobile API
  21. 52:27OCR
  22. 52:55PDF Encryption
  23. 54:07Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.