highlights-scraper
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -43,2 +43,8 @@ const { Chromeless } = require("chromeless"); | ||
const chromeless = new Chromeless(chromelessOptions); | ||
// Note: Mobile pages are simpler and load more reliably. | ||
await chromeless | ||
.setUserAgent('Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B137 Safari/601.1') | ||
.setViewport({width: 414, height: 736, scale: 1}); | ||
try { | ||
@@ -45,0 +51,0 @@ const books = await scrapeBooks(chromeless, highlightsUrl); |
{ | ||
"name": "highlights-scraper", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Scrapes public Kindle highlights on Goodreads.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5600
72