Skip to content

Refactor FanslyAPI into python code#29

Open
robbydurano wants to merge 4 commits into
FansDB:mainfrom
robbydurano:FanslyAPIRefactor
Open

Refactor FanslyAPI into python code#29
robbydurano wants to merge 4 commits into
FansDB:mainfrom
robbydurano:FanslyAPIRefactor

Conversation

@robbydurano
Copy link
Copy Markdown
Contributor

Refactor FanslyAPI into python. This has a config option to add sessionToken so that it can scrape more if you have a sub.

Additionally, tags are properly handled.

@robbydurano
Copy link
Copy Markdown
Contributor Author

Test scenes:
Weird edgecase scene for fixing tags: https://fansly.com/post/865469941418045440 (still gets all tags)
Post with performer referenced: https://fansly.com/post/908138806861910016

@DogmaDragon
Copy link
Copy Markdown
Contributor

DogmaDragon commented May 10, 2026

I feel like Python scrapers should only be used when everything else fails to avoid adding dependancies.

Tag extration can be handled with JSON scraper and sessionToken can be added to the queryURL directly to be able to scrape locked content. Both cases requires user input outside Stash to pass the token. Added in bc4e92f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants