Voldrix / onlyfans-dl-2

OnlyFans content downloader v2
GNU General Public License v3.0
151 stars 23 forks source link

Issue after about 80 profiles? #38

Closed rubberban closed 2 years ago

rubberban commented 3 years ago

After about 80 profiles that it runs through I get this:

Traceback (most recent call last): File "F:\onlyfans.com\onlyfans-dl.py", line 236, in get_content("posts", "/users/" + PROFILE_ID + "/posts") File "F:\onlyfans.com\onlyfans-dl.py", line 204, in get_content download_media(media, MEDIATYPE, album) File "F:\onlyfans.com\onlyfans-dl.py", line 146, in download_media extension = source.split('?')[0].split('.') AttributeError: 'NoneType' object has no attribute 'split'

No clue what this means, but it stops running after that.

Voldrix commented 3 years ago

I added a check for this null source issue, should work now, gracefully skipping over it.

N30Z3N commented 3 years ago

I added a check for this null source issue, should work now, gracefully skipping over it.

I don't want to open new issue so just asking here, if i set to all and run the script it will download in order or expiry or randomly ?

Voldrix commented 3 years ago

It will download profiles in the order the API returns them in, not sure what their default sorting method is. It will download posts in chronological order starting with the oldest first.