Repository navigation
Internships: vanshb03's short links become the posting's own link - #63
Merged
Merged
Conversation
vanshb03's list gives go.vansh.nyc/<code> links. Each update now asks where each new one leads (its redirect only), keeps the answer in data/intern/links.json and stores the real link on the listing (list_url keeps the short one). Rows added earlier with a short link are matched through that file, and the assistant opens and holds the real job site, so several of them run side by side. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
my bad for this :( |
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.
vanshb03's list gives
go.vansh.nyc/<code>links instead of the posting's own link. Every such row looked like the same job site, so only one assistant session could run on them at a time.intern.real_links: each update asks where each new short link leads (its redirect only, the posting is not opened; 0.2 s apart; public addresses only; stops after 5 failures in a row). The answers are kept indata/intern/links.json, and the listing stores the real link (list_urlkeeps the short one). A later download of the list keeps the real link. A listing's read posting gets the new link too, and a posting that couldn't be read is tried again.intern.real_url: Other jobs rows added earlier with a short link are matched through that file (Review, the taste labels,closed_notice). The sheet's cells are never rewritten.assist.other_target: a short-link row opens and holds its real job site, so several run side by side.test_intern(redirects, the cache, migrating stored data, a failing shortener, sheet matching, the assistant's link and site).Tried on a copy of the real data: 1,351 of 1,353 links resolved in about 8 minutes (once). 65 more jobs are now seen as the same job on both lists.
🤖 Generated with Claude Code