Skip to content

Commit

Permalink
Fixed AttributeError: 'str' object has no attribute 'get'
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Jan 24, 2021
1 parent a10c5f6 commit 8835eda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/onlyfans.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ def paid_content_scraper(apis: list[start]):
paid_contents = []
paid_contents = api.get_paid_content()
authed = api.auth
if not authed.active:
return
authed.subscriptions = authed.subscriptions
for paid_content in paid_contents:
author = paid_content.get("author")
Expand Down

0 comments on commit 8835eda

Please sign in to comment.