Repository navigation
v0.2.0
Behaviour changes for existing callers.
- A package id that does not exist, or a page Play served with no apps on
it, now exits 4 (as the README always said), not 5. On Selenium the
same 404 used to exit 3; it is now 4 as well.- A run that gathered rows and then failed (a timeout on page 2, a refused
reviews call) now exits 6 and writes those rows. It used to exit 5
and throw them away — or, for a refused reviews call, exit 0 as
"complete".- Newly rejected with exit 2 naming the flag:
--pages 0(it used to
fetch nothing and exit 4), negative--retries,--delay,
--retry-delay,--proxy-block-retries,--reviews-per-call 0,
--min-scoreoutside 0..1,--concurrencyabove 1 (it was accepted and
ignored),--proxy-rotate on-block(it crashed),--fingerprintwithout
a key or with--cdp-endpoint, and--fingerprinton the Selenium and
pyppeteer engines (they warned and carried on). Selenium with
--cdp-endpointnow exits 2 instead of 1.- Output files are written atomically; a new file gets the mode your umask
gives it, an existing file keeps its mode.- In CSV output only, text cells starting with
=,+,-,@, a tab
or a line break are prefixed with'.
Fixed
--proxyand--proxy-filecrashed before the first fetch
(AttributeError: 'ProxyPool' object has no attribute 'next'). Both run
now, with--proxy-rotate per-pagea fresh browser on the next exit for
every grid page, and a refused page moving to the next exit.--retries,--retry-delay,--proxy-block-retries,--solve-captcha,
--captcha-apiand--min-scorewere accepted and read by nothing.
engine_core.fetch_page()now applies them:--retriesis extra attempts
on a transport failure or an unrecognised page (0 = one attempt), a
refused page gets fresh browsers without spending--retries, and a bare
HTTP 429 waits at the same exit.- The captcha solver was never called, although the README and
.env.examplesaid it was wired. A reCAPTCHA on a refused page is now
detected, solved with a 2Captcha key, injected, and the page that follows
is judged — at most one paid solve per page, an allowance that neither a
retry nor a fresh exit resets. Tested offline against a stubbed solver; no
live solve has been run on this site. - A refused or unreadable reviews call ended the run as complete. The
status of thebatchexecutecall is now read on all three engines, and
such a page is recorded as failed (blocked when it says so). GOOGLEPLAY_URLfrom.envoverrode--category(and made
--mode search --query …a usage error). It is now used only when no
--urland no--category/--query/--app-id/--developeris typed,
and.env.exampleships it commented out.- An interrupted write truncated the previous output (a good 1,105-byte
JSON left as 13 bytes of invalid JSON). Writes go to a temporary file
beside the target and are renamed into place. - CSV cells written by app developers and reviewers could run as
spreadsheet formulas. Escaped in CSV only;csv_cells_escapedin the
sidecar counts them. - An empty document was classified as blocked. It is now an
unrecognised page that is retried. - Error messages mask credentials in
http(s)://user:pass@proxy URLs too. diff_runs.pyrefuses two runs of different--glmarkets even when they
share a currency (DE and FR)..env.exampleno longer says Scraping Browser credentials "live about a
day"; how long they last varies.- Public files no longer refer to a private document; the rules are stated
in this repo's own words, and the suite fails if such a reference returns. tests.ymlno longer carries an inline copy of the sample check;
ci_checks.py --sample-checkis the one implementation.- Scraper API:
waitForis now sent as a JSON object. Measured
2026-09-23 againstscraper.2captcha.com/tasks/sync: the JSON-encoded
string this client sent (the form older docs described) is refused with
HTTP 422 "params.waitFor must be an object" -- and the task is still
billed ($0.0005) -- so every run with--wait-textor its sibling wait flags
failed with exit 5. The object form answers HTTP 200. - Scraper API: the target page's status is read from
http_code. The
response'sstatusfield is the API's own verdict string ("success"),
not the target site's HTTP code, so a target 403/503 was never seen by
this client.http_code(an int) is read now, withstatuskept as a
fallback only when it is an int. diff_runs.pytold users Google Play "prices everything in JPY for every
visitor". That text, and the--price-tolerance-pcthelp, came from the
repo this one was ported from; Play prices per market. A currency mismatch
between two runs is now explained as two different--glmarkets.
TRACKED_FIELDS/PRICE_FIELDSno longer name columns this schema does
not have (points,price_max,shipping_fee, ...).scraper_api_client.pycould never report a block. It compared the
(state, reason)tuple fromdetect_page_stateto"blocked", which never
matches. Its docstring,--helpand error messages also described another
site (45 products, a 43-byte Akamai deny,?p=N, "these pages DO need
JavaScript"). They now say this path has not been run on Google Play yet.- Issue templates and CONTRIBUTING.md described another site (payload
keys, JPY rate-limit page, EUC-JP, sponsored slots, a 6,750-result cap).
Rewritten from this repo's README andproduct_parser.py. The broken
TROUBLESHOOTING.md links now point at the README. - Donor prose removed from
captcha_solver.py,output_writer.py,
env_config.py,fingerprint_client.py,SECURITY.mdand
.github/ci_checks.py. The lessons that came from siblings now name the
sibling.ci_checks.pyno longer says the captures live outside the repo.
They are committed here, scrubbed. .gitignore/.dockerignoreignored another repo's output prefix
(dubizzle_listings.*). They now ignore this repo's owngoogleplay_apps.*.
A!fixtures_generated.jsonexception for a file this repo does not have
was removed, and the Dockerfile example no longer writes/out/coffee.SECURITY.mdsaid this project has no releases or version tags; it has
both. "Supported versions" now names the latest release andmain.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.