Changelog¶
All notable changes to UltimaScraperAPI will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]¶
Planned¶
- Enhanced Fansly API support (currently WIP)
- Enhanced LoyalFans API support (currently WIP)
- Two-factor authentication (2FA) support
- Advanced rate limiting strategies
- GraphQL API support for platforms
- Webhook support for real-time notifications
- Enhanced media processing pipeline
- Batch operation improvements
[3.0.0b6] - 2026-11-21¶
Added¶
- Privacy and DarkFans APIs: sign-in, profiles, posts, messages, stories and subscriptions. Both join the supported and enabled sites.
- Privacy videos download from HLS playlists. DarkFans videos play through Fastevo ClearKey DRM, decrypted with Shaka Packager. The player's keys are read from Fastevo's web player at run time, never stored here.
site_contract.py: what the backend reads from a site API, checked against every site by the tests.pagination.py: a shared pager for theiter_*methods (offset, page, id or timestamp cursors).- One
SITE_APISregistry behindselect_apiandget_site_title. OnlyFansAuthModel.get_mefetches the account's own profile again, so a top-up shows in its credit balance.mp4decrypttakes several KID:KEY pairs.
Changed¶
- Fansly rebuilt against the live web client: request signing, endpoints, media resolution, paging, and a
ChatModel. Methods that could only ever reach onlyfans.com are gone. - Every site builds its URLs from a
urls.pyAPIRoutes; site APIs exposeapi_routes. OnlyFans'extras.endpoint_linksis removed. - A deleted Fansly account is named
u<id>, as on OnlyFans. Sites.get_settingsraises on an unknown site instead of returning LoyalFans' settings.- License metadata is the SPDX expression
AGPL-3.0-or-later. Docs build with Zensical.
Fixed¶
- A route limited by a POST 429 clears again.
- OnlyFans
like(),list_comments()andfavorite()no longer request "messagess" URLs;get_login_issuesworks again. - LoyalFans
get_messagesno longer always raises.
[3.0.0b5] - 2026-11-05¶
Added¶
- Configurable guest lookup and route timeouts, per proxy, proxy group or network.
- Proxy group configuration, with rate limits per group.
- Loading and saving of API settings from configuration.
- Mapping from a site's native IDs to database IDs; user lookups by string identifier.
- Processed and expected byte counts on download progress events.
Changed¶
- Guest sessions: better rate limiting and response handling, and a 10s default timeout.
- OnlyFans API: concurrency handling and WebSocket timeouts reworked.
- Redis logging handler is faster and configurable.
Fixed¶
- DRM media URLs use the correct CDN endpoint.
- Authentication errors in
OnlyFansAPIare handled instead of raised raw.
[3.0.0b4] - 2026-04-14¶
Added¶
OnlyFansAuthModel.search_chats(query, limit, offset)— full-text chat search returningChatModelinstances.APIRoutes.search_chatsroute on the centralizedAPIRoutesregistry.
Changed¶
SessionManagerrefactored to consolidate request handling, retry/backoff, and Cloudflare bypass logic.OnlyDRMnow derives manifest type and CDN URLs more robustly when resolving DRM media.MediaModelimproved source-URL handling for streamed/DRM content.
Fixed¶
- Edge cases in user-model lookups when DRM-only media is present.
[3.0.0b3] - 2026-03-17¶
Added¶
- New OnlyFans endpoints and helpers:
OnlyFansAuthModel.blocked_users()andrestricted_users()OnlyFansAuthModel.get_paid_content(performer_id=…)with optional per-performer filteringOnlyFansAuthModel.get_transactions()for payment historyUserModel.block()/UserModel.unblock()APIRoutesclass (ultima_scraper_api/apis/onlyfans/urls.py) — centralized, typed registry of every OnlyFans API endpoint.PromotionContentModelexposed viaPostModel.promotion.MassMessageModel.is_bought(),MessageModel.is_bought(),PostModel.is_bought()— uniform purchase-state detection based on media visibility and price.MessageModel.buy_message()andMessageModel.like_message()for purchase / like flows.ScrapeProgressCallbackandon_progress/job_idparameters onUserModel.get_posts,get_stories, andget_messagesfor real-time progress reporting (also published as Redisscrape_progressevents).ultima_scraper_api.helpers.url_diagnostics—diagnose_url,diagnose_download_failure,decode_cloudfront_policy,is_onlyfans_cdn_url,is_fansly_cdn_url, plusCloudFrontPolicy/UrlDiagnosticsdataclasses for inspecting signed CDN URLs.ultima_scraper_api.helpers.media_types—MediaTypesenum and registry shared with the package-levelMediaType.from_api_type()andmap_api_media_types()utilities.ultima_scraper_api.job_events— Pydantic event models (OperationProgressEvent,DownloadFailureReason,ApiCommandResult, …) andcreate_download_progress_event()for typed Redis pub/sub events.ProxyManagerandAuthedSessionnow support custom SSL contexts for Cloudflare bypass.- Proxy support added to Fansly and LoyalFans authenticators.
BaseSubscriptionModelnow inherits fromdictfor easier serialization.ScrapeManagersupports progress callbacks during bulk scraping; WebSocket connection manager tracks content-event staleness.- Redis log history and improved connection/error handling in
managers/redis.
Changed¶
OnlyFansAuthModel.send_messagerewritten to accept the full OnlyFans payload (to_user_id,text,lockedText,mediaFiles,price,previews,rfTag,rfGuest,rfPartner,isForward); old signature replaced.message_createis kept as a thin alias.UserModel.get_postsnow acceptslabel("","archived","private_archived", …),before_date,after_date, plus the new progress callbacks.UserModel.get_messagespaginates viaoffset_id/cutoff_idinstead of numeric offsets and emits per-page progress events.MediaModel,PostModel,StoryModel,SubscriptionModel, andUserModelupdated for naming consistency and improved error handling.OnlyFansAuthenticatorflow refactored for clarity.WebSocketManager/ protocol cleaned up for type safety.
Fixed¶
- Several edge cases in user resolution and paid-content aggregation.
[3.0.0b2] - 2025-10-18¶
Added¶
- Major project restructure with new MkDocs Material documentation site.
- Initial LoyalFans API scaffolding.
- Build improvements and updated packaging metadata.
Changed¶
- Auth model initialization streamlined; subscription-fetching logic cleaned up (3.0.0b3 build).
[2.2.46] - 2025-10-18¶
Added¶
- Comprehensive MkDocs Material documentation with 10,000+ lines covering:
- Complete installation guide with multiple methods (uv, pip, source)
- Quick start tutorial with credential extraction
- Full configuration reference with all options
- Authentication guide for all platforms
- Working with APIs guide (2000+ lines)
- Complete OnlyFans API reference (850+ lines)
- Proxy support documentation (900+ lines)
- Session management guide with Redis integration (1000+ lines)
- Comprehensive troubleshooting guide (1200+ lines)
- Enhanced README.md with detailed feature list and examples
- Documentation site deployment setup
- Code examples throughout documentation (150+ examples)
- Best practices and patterns for async operations
- Production-ready session management examples
- Redis caching and session storage patterns
- Proxy rotation strategies (HTTP, HTTPS, SOCKS4, SOCKS5)
- DRM decryption documentation
- WebSocket integration patterns
Changed¶
- Updated project structure for better organization
- Improved documentation navigation and user experience
- Enhanced error handling documentation
- Refined API method signatures documentation
- Updated dependency documentation with version constraints
Documentation¶
- Created comprehensive user guides for all major features
- Added 75+ troubleshooting scenarios with solutions
- Documented all configuration options with examples
- Added platform-specific guides and limitations
- Created development documentation structure
[2.2.43] - 2024-08-20¶
Added¶
- WebSocket support for real-time connections
- Message sending functionality to
OnlyFansAuthModel - Enhanced
endpoint_linksmanagement - cURL string parsing for OnlyFans login
- Improved authentication flow with cURL compatibility
Changed¶
- Enhanced OnlyFans login methods to support multiple input formats
- Improved session management across all platforms
- Updated authentication context handling
Fixed¶
- Login context issues with session persistence
- WebSocket connection stability improvements
[2.2.42] - 2024-05-15¶
Changed¶
- Refactored auth model docstring formatting for better readability
- Enhanced request method typing with proper type hints
- Improved code documentation across API modules
- Updated session handling for LoyalFans platform
Added¶
- Better type safety with enhanced typing annotations
- Improved IDE autocomplete support
[2.2.41] - 2024-05-10¶
Changed¶
- Improved
OnlyFansAPIlogin context handling - Enhanced session lifecycle management
- Better context manager cleanup
Fixed¶
- Session cleanup issues in login context
- Memory leaks in long-running sessions
[2.2.40] - 2024-04-25¶
Changed¶
- Updated
httpxdependency to version 0.28+ - Refactored user model structure
- Enhanced cache handling mechanisms
- Improved request/response caching
Added¶
- Better cache invalidation strategies
- Enhanced user model with additional fields
Fixed¶
- Cache-related memory issues
- User model initialization bugs
[2.2.37] - 2024-04-15¶
Changed¶
- Restructured dependencies in
pyproject.toml - Updated dependency version constraints
- Improved package metadata
Added¶
- Better dependency resolution
- Enhanced optional dependency groups
[2.2.36] - 2024-04-10¶
Changed¶
- Renamed user model references from
create_usertoUserModel - Updated related class names for consistency
- Standardized model naming conventions
Refactored¶
- User model creation patterns
- Authentication model structure
- Improved code organization
[2.2.35] - 2024-03-20¶
Fixed¶
- Updated price type to
int | Nonein message and post models - Improved auth iteration handling
- Better null value handling in models
Changed¶
- Enhanced model field definitions
- Improved type safety in pricing fields
[2.2.34] - 2024-01-15¶
Added¶
- Enhanced file decryption with temporary output path support
- Improved DRM handling capabilities
- Better file timestamp handling
Changed¶
- Enhanced API data structures
- Improved payment handling in message and post models
- Updated file processing pipeline
[2.2.33] - 2023-12-01¶
Fixed¶
- OnlyFans API login issue handling
- Error recovery in authentication flow
- Session persistence bugs
Changed¶
- Improved error messages and logging
- Enhanced authentication retry logic
[2.2.32] - 2023-11-15¶
Changed¶
- Updated
httpxdependency to version 0.27.2 - Enhanced request error handling in
OnlyFansAPI - Improved error recovery mechanisms
Fixed¶
- Connection timeout issues
- Request retry logic improvements
[2.2.31] - 2023-11-01¶
Added¶
get_transactionsmethod toOnlyFansAuthModel- PATCH method support in
session_manager.py - Transaction history retrieval
Changed¶
- Enhanced financial data handling
- Improved HTTP method support
[2.2.30] - 2023-10-15¶
Changed¶
- Updated dependencies with security fixes
- Fixed proxy handling in
session_manager.py - Improved error handling in
job_manager.py
Fixed¶
- Proxy authentication issues
- Connection pooling stability
- Job manager error recovery
[2.2.28] - 2023-06-20¶
Changed¶
- Removed unused
get_subscriptionmethod - Updated
pywidevine.deviceimport structure - Code cleanup and optimization
Removed¶
- Deprecated subscription methods
- Unused imports and dependencies
[2.2.25-2.2.27] - 2023-05-10¶
Changed¶
- Fixed cache types in
config.py - Handled duplicate aliases in user management
- Updated datetime usage in
CacheStats - Modified aliases handling in
StreamlinedUser
Fixed¶
- Cache type mismatches
- Duplicate data handling
- Timestamp timezone issues
[2.0.0 - 2.2.24] - 2022-2023¶
Major Features Released¶
- Initial stable release with OnlyFans support
- Async/await architecture with
aiohttp - Pydantic v2 integration for data validation
- Redis support for caching and session management
- Proxy support (HTTP, HTTPS, SOCKS4, SOCKS5)
- DRM decryption capabilities with Widevine
- Content downloading with progress tracking
- Rate limiting and retry mechanisms
- Comprehensive error handling
- Multi-platform authentication framework
- Session management and connection pooling
- Media processing pipeline
- Pagination support for large datasets
Platforms Supported¶
- ✅ OnlyFans - Stable, production-ready
- ⚠️ Fansly - Work in progress
- ⚠️ LoyalFans - Work in progress
Version Support¶
Python Versions¶
- ✅ Python 3.10
- ✅ Python 3.11
- ✅ Python 3.12
- ✅ Python 3.13
- ✅ Python 3.14
Maintained Versions¶
- 2.2.x - Current stable branch (Active development)
- 2.1.x - Maintenance mode
- 2.0.x - Security fixes only
Migration Guides¶
Migrating to 2.2.x¶
Breaking Changes from 2.1.x¶
- Pydantic v2 required (was v1)
create_userrenamed toUserModel- Enhanced type hints may require code adjustments
- WebSocket support changes session initialization
Required Updates¶
# Old (2.1.x)
from ultima_scraper_api.apis.onlyfans import create_user
user = create_user(data)
# New (2.2.x)
from ultima_scraper_api.models import UserModel
user = UserModel(**data)
Pydantic v2 Migration¶
# Old (Pydantic v1)
class Config:
orm_mode = True
# New (Pydantic v2)
model_config = ConfigDict(from_attributes=True)
Deprecation Notices¶
Deprecated in 2.2.x (Removed or replaced during 3.0.0 beta work)¶
get_subscription()method - Useauth.subscriptionsproperty- Legacy cache configuration - Use Redis configuration
- Synchronous API methods - Use async equivalents
Removed in 2.2.x¶
- Python 3.8 and 3.9 support
- Pydantic v1 compatibility
- Legacy authentication methods
- Deprecated session managers
Security Advisories¶
3.0.0b4¶
- No known security vulnerabilities
- All dependencies up-to-date with security patches
Best Practices¶
- Always use latest version for security updates
- Rotate credentials regularly
- Use environment variables for sensitive data
- Enable SSL certificate verification
- Use HTTPS proxies when possible
- Implement rate limiting
- Monitor authentication token expiration
Legend¶
| Type | Description |
|---|---|
| 🆕 Added | New features and capabilities |
| 🔄 Changed | Changes in existing functionality |
| 🗑️ Deprecated | Features marked for future removal |
| ❌ Removed | Features removed in this version |
| 🐛 Fixed | Bug fixes and corrections |
| 🔒 Security | Security vulnerability fixes |
| 📚 Documentation | Documentation improvements |
| ♻️ Refactored | Code improvements without behavior changes |
Contributing¶
We welcome contributions! See our Contributing Guide for details on: - How to report bugs - How to suggest features - Development workflow - Code style guidelines - Testing requirements
Support¶
- 📖 Documentation: https://ultimahoarder.github.io/UltimaScraperAPI/
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📦 Releases: GitHub Releases
Last Updated: April 28, 2026
Current Version: 3.0.0b5