Add X99 DDR4 RAM deal monitor scripts - #47
Closed
krotname wants to merge 2 commits into
Closed
Conversation
Watch Wildberries, Ozon, Avito and Yandex Market for DDR4 ECC REG listings priced below the market (per-GB threshold or 25% under the current median), dedupe against a state file and push new deals to Telegram. Wildberries uses its open search JSON API; the antibot-heavy marketplaces go through Playwright with a persistent profile. Includes config with Aug 2026 price baselines, a network-free selftest for the parsing/dedupe logic, and a crontab example. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BpXkEAUhyCAn2vmonpMYMN
|
You have reached your Codex usage limits for security reviews. Please try again later. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 92f7ca2629
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Address Codex review on #47: state.json was written before the Telegram send, so a failed delivery permanently swallowed the notification; now listings are marked as seen only after a successful send (or when Telegram is disabled). The Yandex Market scraper used to raise three seconds after detecting SmartCaptcha even in headful mode, closing the window before a human could solve it — it now waits up to three minutes for the captcha to be solved when headless is off. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BpXkEAUhyCAn2vmonpMYMN
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.
What
New standalone tooling under
scripts/x99-ram-monitor/: a price monitor that watches Wildberries, Ozon, Avito and Yandex Market for DDR4 ECC REG (server) memory suitable for X99 boards and notifies about listings priced below the market.config.yaml(per-marketplace overrides, e.g. stricter for used items on Avito) or 25%+ below the median of the current search results.requests); Ozon, Avito and Yandex Market via Playwright with a persistent browser profile to survive antibot checks. Avito uses newest-first sorting, which is what "watch for new offers" needs.state.json; a listing is re-sent only if its price drops by another 10%.TG_BOT_TOKEN/TG_CHAT_IDenv vars).--once/--loopmodes with jitter, acrontab.example, and a network-free--selftestcovering title parsing (incl. Cyrillic «4х16Gb» kits), filtering, deal selection and dedupe.Why
Requested in this session: compare DDR4 ECC REG prices for an X99 build across RU marketplaces and keep monitoring for below-market offers.
config.yamlships with Aug 2026 price baselines gathered during the research.Testing
python3 monitor.py --selftest— all checks pass (capacity/price parsing, filters, deal selection, state dedupe).python3 -m py_compileover all modules;config.yamlvalidated.No plugin code touched; Gradle build is unaffected.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BpXkEAUhyCAn2vmonpMYMN
Generated by Claude Code