feat(Clips4Sale): reimplement Clips4Sale scraper in python#2631
Merged
feederbox826 merged 5 commits intostashapp:masterfrom Feb 21, 2026
Merged
feat(Clips4Sale): reimplement Clips4Sale scraper in python#2631feederbox826 merged 5 commits intostashapp:masterfrom
feederbox826 merged 5 commits intostashapp:masterfrom
Conversation
Signed-off-by: xantror <69341873+xantror@users.noreply.github.com>
Signed-off-by: xantror <69341873+xantror@users.noreply.github.com>
…base64 options Signed-off-by: xantror <69341873+xantror@users.noreply.github.com>
Signed-off-by: xantror <69341873+xantror@users.noreply.github.com>
45d9baf to
00ff0c0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
feederbox826
requested changes
Dec 30, 2025
Member
feederbox826
left a comment
There was a problem hiding this comment.
A lot of really odd and inconsistent style choices
| text = str(text) | ||
| # Unescape HTML entities first (e.g. <br> -> <br>) | ||
| text = html.unescape(text) | ||
| text = re.sub(r'data-\w+="[^"]*"\s*', "", text) |
Member
There was a problem hiding this comment.
why strip data attributes if you're just going to get_text()?
| if p_tags := p_data.get("tags"): | ||
| performer["tags"] = p_tags | ||
| else: | ||
| performer["urls"] = [performer_url] |
Member
There was a problem hiding this comment.
performer[urls] is in both conditions, why nest it?
| if lower not in unique_tags: | ||
| unique_tags[lower] = original | ||
| else: | ||
| # Prefer the version with more uppercase letters |
| res["tags"] = tags | ||
| if performers: | ||
| res["performers"] = performers | ||
| return res |
Member
There was a problem hiding this comment.
why switch up nullish check style? stash handles it just fine if it's given NoneType
| if details := clean_text(dig(clip, "description")): | ||
| scene["details"] = details | ||
|
|
||
| scene["studio"] = studio_obj |
Member
There was a problem hiding this comment.
see comment above on nullish typings
feederbox826
approved these changes
Feb 21, 2026
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.
Scraper type(s)
Short description
Merge after: #2628