Skip to content

Commit

Permalink
Highlights fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Nov 25, 2020
1 parent 0f6d911 commit 5af42b6
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 @@ -585,6 +585,8 @@ def prepare_scraper(api: start, site_name, item):
highlights = subscription.get_highlights()
valid_highlights = []
for highlight in highlights:
if "error" == highlight:
continue
highlight = subscription.get_highlights(
hightlight_id=highlight["id"])
valid_highlights.append(highlight)
Expand Down

0 comments on commit 5af42b6

Please sign in to comment.