medialab / google-bookmarklets

extract list of results from a google page as csv with bookmarklets
https://medialab.github.io/google-bookmarklets/
GNU General Public License v3.0
16 stars 2 forks source link

Google Bookmarklets

Harvesting lists of urls, titles, dates and descriptions from a Google search query is a recurrent need in digital methods and a hardly automatable one because of Google's restrictions towards robots. Google Bookmarklets are two small icons to drag and drop into your browser bookmarks bars to ease this:

Dev

# Install node dependencies
npm install express https http fs

# Create HTTPS key & certificate 
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem

# Run HTTPS server
node serve-https.js

# Load the following page in your browser to accept the unsafe certificate first
https://localhost:4443/