onlyfans-dl-2 icon indicating copy to clipboard operation
onlyfans-dl-2 copied to clipboard

Failed to get user http 400

Open UnknownVariable102 opened this issue 1 year ago • 7 comments

I'm sure I've done this incorrectly. I apologise, I know nothing about coding, but thought I'd try.

I've:

  • installed python3 (I have V3.11.5) and installed requests.
  • I've got the session variables from the dev console.
  • I've added 'onlyfans-dl.py' to my c\users'username' directory.
  • I've added the python filepath to the 'path' environment variables screen.

and yet, when I open up CMD and type "python onlyfans-dl.py scarletaddiction" I get:

CWD = C:\users\username

failed to get user: scarletaddiction http 400

Is there somewhere I need to add the URL of the onlyfans page to the script? I'm not sure what else to do to get the script to work; although I'm sure the fix will be easy.

Also - how do I select a directory for the files to be downloaded to?

Please send help.

UnknownVariable102 avatar May 27 '24 08:05 UnknownVariable102

Also, when I just try "python ./onlyfans-dl.py all" I get:

SUBSCRIPTIONS ERROR: http 401 Traceback (most recent call last): File "C:\Users'username'\onlyfans-dl.py", line 287, in for PROFILE in PROFILE_LIST: TypeError: 'NoneType' object is not iterable

UnknownVariable102 avatar May 27 '24 08:05 UnknownVariable102

Same problem here too. Other scrapers have the same problem. So OF changed something. Please voldrix could you update please.

waswosi avatar Jun 06 '24 01:06 waswosi

Definitely something more going on. As @waswosi said, other scrapers are having this same issue. I get a 401 response even though the auth is correct. I also noticed that I can't find init anymore. Maybe that's been the case for a while. Just an observation that things may be different.

need4swede avatar Jun 06 '24 19:06 need4swede

Solution merged. #123

Voldrix avatar Jun 07 '24 13:06 Voldrix

Solution merged. #123

Thank you so much!!! It works again.

waswosi avatar Jun 07 '24 15:06 waswosi

The new repo dissolved, so I just added the signature definition statically to the file, so we're not dependent on hosting. Even though no one mentioned it here, it was re-broken, but I just patched it, so update the script again.

Voldrix avatar Jun 13 '24 00:06 Voldrix

hmm I have again this error :/

Georodin avatar Jul 16 '24 17:07 Georodin