From 5af42b6d9441e186dbd7099f9d753001ba39f854 Mon Sep 17 00:00:00 2001 From: CRIMINAL Date: Wed, 25 Nov 2020 03:50:30 +0000 Subject: [PATCH] Highlights fix --- modules/onlyfans.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/onlyfans.py b/modules/onlyfans.py index 7d0a3d5cb..bd07dca85 100644 --- a/modules/onlyfans.py +++ b/modules/onlyfans.py @@ -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)