prof79 / fansly-downloader-ng

Easy-to-use fansly.com content downloading tool. Written in Python and available as a standalone Windows Executable. Enjoy your Fansly content offline anytime, anywhere in the highest possible content resolution! Fully customizable to download in bulk or single: photos, videos & audio from timeline, messages, collection & single posts.
GNU General Public License v3.0
292 stars 16 forks source link

Timeline response filled with None; Unexpected error during Timeline download #35

Closed TreeForTwo closed 8 months ago

TreeForTwo commented 8 months ago

Bug Description

Cannot download creator media. Program errors during Timeline download, with all response fields being [None].

Single post mode works as intended. Normal and Timeline fails.

Expected behavior

The program downloads all creator media from their timeline

Actual behavior

The program fails with the following error, and continuously retries with the same failure

 DEBUG | 21:55 || Timeline object: {'posts': [None], 'accountMediaBundles': [None], 'accountMedia': [None], 'accounts': [None], 'tips': [None], 'timelineReadPermissionFlags': [None], 'accountTimelineReadPermissionFlags': {'flags': 0, 'metadata': '{}'}}
 [36]ERROR | 21:55 || Unexpected error during Timeline download: 
Traceback (most recent call last):
  File "/home/treefortwo/Downloads/fansly-downloader-ng-0.8.19/download/timeline.py", line 67, in download_timeline
    all_media_ids = get_unique_media_ids(timeline)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/treefortwo/Downloads/fansly-downloader-ng-0.8.19/download/common.py", line 45, in get_unique_media_ids
    account_media_ids = [
                        ^
  File "/home/treefortwo/Downloads/fansly-downloader-ng-0.8.19/download/common.py", line 46, in <listcomp>
    media['id']
    ~~~~~^^^^^^
TypeError: 'NoneType' object is not subscriptable

Environment Information

User Research

I have done the following:

ZincStoat commented 8 months ago

Duplicate of #34

prof79 commented 8 months ago

Closed as duplicate of #34