Skip to content

Commit

Permalink
Fixed: Stories - Preview Not Found
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Feb 4, 2021
1 parent c8faafe commit 0eafe1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/onlyfans.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,9 +916,8 @@ def media_scraper(results, api, formatted_directories, username, api_type, paren
text = media_api.get("text", "")
final_text = rawText if rawText else text
previews = media_api.get("preview", None)
# if media_api["responseType"] == "post":
# if media_api["isArchived"]:
# pass
if api_type == "Stories":
previews = []
if api_type == "Messages":
media_api["rawText"] = media_api["text"]
previews = media_api.get("previews", None)
Expand Down

0 comments on commit 0eafe1e

Please sign in to comment.