feat: add JavBus Python scraper (supports censored + uncensored search) - #2820
Open
xy952666680 wants to merge 3 commits into
Open
feat: add JavBus Python scraper (supports censored + uncensored search)#2820xy952666680 wants to merge 3 commits into
xy952666680 wants to merge 3 commits into
Conversation
- dispatch: read code/title/urls fields (Stash fragment has no 'name'); fragment paths return a single scene object, not a list; prefer exact-code match over first search hit - duration: convert minutes to seconds (x60), omit key when absent - ec(): strip CD/DVD/DISC/PART/JAV junk tokens; support alphanumeric prefixes (s2mbd-055 -> S2MBD-055); keep dashless normalization (DDT246 -> DDT-246) and date-immune matching - tags: anchor regex to <label> so performers no longer leak into tags - ssl: use create_default_context() instead of unverified context - yml: drop dead 'validSearch' arg (never read by the script)
Author
Review fixes applied (verified against live javbus.com)This branch includes fixes from a full review — Codex CLI review plus end-to-end testing against live javbus.com pages (censored + uncensored), both locally and on a staging Stash instance.
Tested entry points (all against live pages):
|
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.
Summary
New JavBus Python scraper supporting both censored and uncensored search.
sceneByFragment/sceneByQueryFragment/sceneByName/sceneByURLjavbus.com/search/<code>first, falls back to/uncensored/search/<code>when no censored resultsCookie: over18=18; existmag=magto bypass the site's age gateScraper types
Examples to test
SSIS-123→ https://www.javbus.com/SSIS-123HEYZO-3016→ https://www.javbus.com/HEYZO-3016Notes
CD1,DISC2,JAV24, ...), supports alphanumeric prefixes (s2mbd-055→S2MBD-055), normalizes dashless codes (DDT246→DDT-246), and ignores dates before the codesceneByNamereturns a list