Skip to content

v0.0.3

Choose a tag to compare

@alkaz-nodemaven alkaz-nodemaven released this 15 Oct 09:26

Faster, cheaper runs.

  • --workers N runs several browsers on one queue of queries.
  • New exits start from a copy of the first served exit's cookies instead of a fresh warm-up (--clone N, on by default with 10 copies; --clone 0 turns it off).
  • An exit is kept for up to 50 queries (--max-per-exit), and --spare N warms the next exit in the background.
  • The default pause between queries is 2-5 s, and result links are resolved a few at a time.
  • Each record has search_metadata.timings: seconds spent per step.
  • A 402 or 407 from the proxy stops the run at once with the proxy's own answer.
  • A query typed only partly is typed again; a browser error on search is retried once.
  • Query files saved with a byte order mark are read correctly.
pip install -U google-browser-scraper