~/talk

Chrome Extension for Page Scraping & Analysis

Talkat DevFestMN 2016 · on Saturday, 2016-02-06· [javascript, web-platform]
speakerdeck:baskint
slides:none on file

A working prototype implements a Chrome extension using a background page and content scripts that inject third party scripts, scrape Hacker News DOM nodes, filter titles and links, and send JSON results to a back end that can be either local MongoDB and Firebase. The demo shows per-component success but occasional integration hiccups; the extension stores results in Chrome storage, posts to an Express API, and testing options mentioned are PhantomJS Mocha Chai Sinon.

AI-written summary · about

  1. 0:00Chrome extensions intro
  2. 6:36What extensions are
  3. 10:47First extension
  4. 15:43Chrome APIs
  5. 19:33Page scraping overview
  6. 23:08Demo: scraping extension
  7. 32:03Node.js scraping packages
  8. 36:39MongoDB storage
  9. 37:40Firebase backend
  10. 41:55Sample app build
  11. 51:14Live scraping demo
  12. 53:24Summary
  13. 54:05Q&A: DOM traversal
~/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.