Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.49 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.49 KB

Search Engines Bookmarklet

Harvesting lists of urls, titles, dates and descriptions from a query on a search engine such as Google, DuckDuckGo or Baidu is a recurrent need in digital methods and a hardly automatable one because of those website's restrictions towards robots. Search Engines Bookmarklet is a low tech solution to this need by offering you an easy way to do directly from within your browser. It works as a small icon to drag and drop into your browser's bookmarks bar, allowing you:

  • to first switch from a regular search results page to one with up to a 100 results per page when the search engines allows it;
  • then to download in one click the page's results as a CSV file, or to store them in the browser's memory and navigate to the next results page in order to download more results at once.

Dev

# Install node's express dependency
npm install express

# Create an HTTPS key & certificate set
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 your local HTTPS server
node serve-https.js

# Edit SearchEnginesBookmarklet.js to comment the second line and uncomment the third one

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

# Then install your development version of the bookmarklet as usual by dragging and dropping the image from that page into your bookrmarks bar