taux1c / onlyfans-scraper

A tool that allows you to print to file all content you are subscribed to on onlyfans including content you have unlocked or has been sent to you in messages.
MIT License
289 stars 34 forks source link

Status - DOWN // Not able to use the scraper #17

Closed jeanbono4425 closed 1 year ago

jeanbono4425 commented 1 year ago

Heya !

First, I'd like to thank you for making this project ! After thoroughly filling the info asked when running the script, I'm faced with this:

Traceback (most recent call last):
  File "C:\Program Files\Python39\Scripts\onlyfans-scraper-script.py", line 33, in <module>
    sys.exit(load_entry_point('onlyfans-scraper==2.0.0', 'console_scripts', 'onlyfans-scraper')())
  File "c:\program files\python39\lib\site-packages\onlyfans_scraper\scraper.py", line 330, in main
    process_prompts()
  File "c:\program files\python39\lib\site-packages\onlyfans_scraper\scraper.py", line 241, in process_prompts
    model_id = profile.get_id(headers, username)
  File "c:\program files\python39\lib\site-packages\onlyfans_scraper\api\profile.py", line 73, in get_id
    r.raise_for_status()
  File "c:\program files\python39\lib\site-packages\httpx\_models.py", line 736, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://onlyfans.com/api2/v2/users/toohsakaa'
For more information check: https://httpstatuses.com/400

Do you have any idea on what's causing this ?

Thanks in a million !

taux1c commented 1 year ago

Status down generally means the login is invalid, are you sure you filled everything out correctly?

taux1c commented 1 year ago

What's interesting is the 400 status. This since no one else is getting this I am assuming it's related to likely a bad login.

400 Bad Request The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

0x3333 commented 1 year ago

You must provide all the variables exactly as they are in your browser, including the user agent, otherwise, it will fail.