Repository navigation
Live check: own-file links from the checkout, two README block fixes - #2
Merged
Merged
Conversation
- Links: github.com answered 503 for the README's three blob/main links while every other link answered 200. The step now checks those files in the checkout instead of over HTTP. - Posts by keyword: last week's run crashed with KeyError: 'account_id' on an error row. The example now skips error rows. - TikTok Shop: the API answered "Product not available." for the earbuds listing, a small seller whose title and price have since changed. Both examples now use The Ordinary's official-store bottle, with output and field count from a run on 24-Nov-26. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
The last two weekly live checks failed for three separate reasons:
503for the README's threeblob/mainlinks (CONTRIBUTING.md, LICENSE, examples/sample_output.json). Every other link answered 200, and the three resolve today. GitHub throttles/blob/pages for Actions runners, and amazon-scraper hit the same three links in the same hour.Product not available.for the earbuds listing. It scrapes again today, but it comes from a small seller and has changed since the README was written (title rewritten, $13.99 → $23.18), so it's a fragile fixture.KeyError: 'account_id'.result.dataincluded an error row, and the example readaccount_idon every row. It passed this week only because no error row came back.Fix
live.yml: links togithub.com/brightdata/tiktok-scraper/blob/main/<path>now check that<path>exists in the checkout instead of fetching github.com. A renamed or deleted file still fails the step.bdata pipelines runcommand) now use The Ordinary Daily Hydration Glass Bottle from The Ordinary's official store. The sample output and the "N fields" line come from a real run on 24-Nov-26:The Ordinary Daily Hydration Glass Bottle 19.99 USD The Ordinary Store, 49 fields.if "error" in post: ...; continue, the same handling the README's error table describes.Verified
LICENSEremoved, it prints::error::no such file in the repo: LICENSEand exits 1.Crawl aborted on job cancelrow: before,KeyError: 'account_id'; after, it prints the post anderror row: ....gd_m45m1u911dsa4274pi(no error, values match the new sample output).The next Monday live check runs every block against the real API.
🤖 Generated with Claude Code