Repository navigation
chore(release): sync develop into main for v0.2.0 - #35
Merged
Merged
Conversation
Scrapes crashed after the first ~10 reviews, long reviews stayed cut off, and a dead Google session was reported as signed in. - scroll: pass the scroll step into the page instead of reading a Node-side constant inside page.evaluate (ReferenceError on the second scroll) - expand: click each "More" button by a mark on the element and confirm the result; Google now removes the button on click, which made the positional loop skip every second review. Warn with the number of reviews that stay cut off - session: one check for "Google accepts this session" (getSessionState) used by auth, auth status and the sign-in wait; an expired session is no longer reported as signed in - limited view: typed AUTH_REQUIRED error, never retried, one message that says to run `revcli auth`, for every sort order; headed mode asks for sign-in and continues - non-place links fail once with NOT_A_PLACE - short links: wait for the in-page redirect before forcing hl=en, so signed-out and non-English profiles get an English page - errors: one top-level handler, no stack trace without --verbose, Playwright call logs removed from messages - tests: browser tests run the scroll, expand, session and navigation code in headless Chromium against local fixtures; CI installs Chromium - docs: README, AGENTS.md, selector maintenance guide, CHANGELOG Refs #31 Claude-Session: https://claude.ai/code/session_01PuLVjZfdZVDn9e5QnCEtCH
…st (#34) Issue #33: `revcli batch` could not finish long lists unattended. - A location timeout now really stops the scrape: runWithTimeout() aborts a signal that withRetry and scrapeLocation honour, closes the browser, and waits until it is closed before the next place starts. A late result is never saved. If a stopped browser does not close within 15 s, the batch stops with exit 1 (resume with --resume). - revcli owns SIGHUP/SIGINT/SIGTERM: Playwright's own handlers (whose SIGTERM handler closed browsers without exiting) are turned off; a signal aborts running work, closes every browser and exits 129/130/143. - Collected review cards are marked with their review id and skipped, so a collect cycle reads only new cards (last/first 10 cycles at 2,000 reviews: 970/177 ms before, ~140/85 ms after). A reused card is read again. - Output and state files are written atomically (temp file + rename). Also includes `revcli scrape --time-limit <minutes>`: stop collecting after the given time and save the reviews collected so far, with a warning. Closes #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync
developintomainfor the v0.2.0 release.revcli scrape --time-limitCI is green on
developat c7eb9c5. Merge as a merge commit (develop → main convention).