chore(backmerge): release/0.1 -> main after v0.1.1#17
Open
github-actions[bot] wants to merge 3 commits into
Open
chore(backmerge): release/0.1 -> main after v0.1.1#17github-actions[bot] wants to merge 3 commits into
github-actions[bot] wants to merge 3 commits into
Conversation
The XScraper was scrolling on a metronome: a fixed 1.8s pause, two viewport heights per step, and no dwell when first landing on /i/bookmarks. Even with playwright-stealth and the AutomationControlled blink-feature flag disabled, that cadence was uniform enough for X to flag the session and start showing the "Cette demande semble être automatisée..." banner on the account afterwards (issue #15). Pacing is now jittered on each step: - inter-scroll pause: random 2.0-3.5s instead of fixed 1.8s - scroll distance: random 0.7-1.3 * viewport instead of fixed 2x - initial dwell: 4.0-6.5s on /i/bookmarks before the first scroll Slower overall, but in line with the "be gentle with sources" rule in CONTRIBUTING.md and the right trade-off for a tool that runs once in a while against a personal bookmark list. Bumps to 0.1.1 on the release/0.1 line. Fixes #15
Per review feedback on PR #16: the existing tests only cover the parse helper and the timeout early-exit, so a regression that re-introduced the fixed 1.8s pause (or dropped the initial dwell) would land silently. New test pins random.uniform / asyncio.sleep and asserts that scrape() emits exactly one initial dwell + two scroll pauses from the configured ranges, and that the scrollBy expression uses a random.uniform()-sampled distance.
…n-iV0kG fix(x): jitter scroll cadence to defuse X's automation detection (v0.1.1)
4 tasks
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.
Automated backmerge after the
v0.1.1release was tagged onrelease/0.1.Brings the version bump and
CHANGELOG.mdupdates back tomainso the trunk reflects what's been shipped.If this PR has conflicts, resolve them locally: