Skip to content

v1.1.0

Choose a tag to compare

@NHagar NHagar released this 25 May 17:32
· 22 commits to master since this release
3ac1b62

Added

Authentication

  • Authentication support for accessing paywalled content
  • SubstackAuth class for managing login sessions
  • Cookie persistence for session reuse
  • is_paywalled() method to check if posts require authentication
  • Optional auth parameter to Post and Newsletter classes

Renamed accounts

  • Automatic handle redirect resolution for renamed Substack accounts
  • was_redirected property to check if a user handle was changed
  • original_username property to access the original handle before redirect
  • resolve_handle_redirect() function for manual redirect resolution
  • follow_redirects parameter to User class (default: True)
  • Comprehensive logging for redirect operations

Changed

  • User class now automatically follows redirects when accounts are renamed
  • Improved error handling to distinguish between renamed and deleted users
  • Post and Newsletter classes now support authenticated requests
  • Improved error messages for paywalled content

Fixed

  • 404 errors when accessing users who have changed their handle