Repository navigation
v0.1.2
Behaviour changes. A page that was refused once and then served is
no longer reported as blocked — such runs were exit 6 /partial, now 0.
Browser--concurrencyworks (it crashed every worker), and a run whose
workers all fail is exit 5, not exit 4.
Fixed
- A recovered page is not a blocked one.
_fetch_with_policykept a
"refusal seen" flag that a later successful attempt never cleared, so a
retry that got the page still reported it blocked. Measured live on
2026-09-29 (pyppeteer, @nasa): one empty HTTP 200, then the profile,
thenpartial/stop_reason: blockedwithpages_failed: []. And the
HTTP -> browser switch spent a--retriesattempt, so with--retries 0
a browser started and was never asked for the page. Both fixed in all
three engines, with a check that drives the real function. - Browser
--concurrencycrashed every worker. The workers were handed
the Playwright driver the main thread created, and Playwright's sync
driver belongs to its thread:greenlet.error: Cannot switch to a different thread, then exit 4 with no rows. Each worker now starts its
own driver, on first use, in its own thread. And a target no worker
could fetch now ends as a counted failure (exit 5 when nothing was
gathered) instead of vanishing into "0 results". Live: 3 of 3, exit 0.
source_changednever fired.diff_runs.py's source-split tuple was
empty, so a count read from the roundedstatsfallback diffed against
an exactstatsV2count was reported as the account having changed —
the opposite of whatoutput_writer.pyand the README say. The count
columns now go tosource_changedwhenstats_sourcediffers, and
smoke_test.pychecks it.
-
Donor prose removed from the shared core.
output_writer.py,
diff_runs.py, the engines,page_flow.py,smoke_test.py,
.github/ci_checks.pyand theDockerfilecarried text from the repos
this core was copied from — YouTube comment threads,--sort top,
reply threads, job listings, "the business",--mode comments --out software-engineer— describing those sites as if they were this one.
Rewritten from this repo's own README, code and fixtures, or deleted
where there was no measured equivalent. Explicit sibling provenance
("measured on tiktok-profile-scraper's route", "a sibling repo
(youtube-scraper) had…") is kept and now says whose it is. -
diff_runs.py's summary printed@ company_nameand "pay not stated"
for every added or removed row; it now prints the handle and the
follower count. -
The engines'
_prime_sessiondocstring no longer describes the YouTube
repo this core came from. -
captcha_solver.py's docstring pointed at a "No DataDome solver" section
that does not exist in this repo (it came with the copied core). Removed. -
The Scraper API engine failed on every
--wait-text/--wait-element/
--wait-statecall, and was billed for it. It sentwaitForas a
JSON-encoded string; measured 2026-09-23 the live API answers that with
HTTP 422 "params.waitFor must be an object" and still charges $0.0005,
while the same request with an object is answered 200. It is now sent as
an object. (The target status was already read fromhttp_code; the new
regression check pins that too, driving the realfetch_htmlwith
requests.poststubbed.) -
--wait-state networkidleis refused by the Scraper API (HTTP 422
"params.waitFor.state must be one of: load, domcontentloaded", still
billed — measured 2026-09-23 on a sibling repo with the object-shaped
waitFor). The choice is removed.