Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep getting an error #78

Open
HitoSantos opened this issue Feb 4, 2024 · 2 comments
Open

Keep getting an error #78

HitoSantos opened this issue Feb 4, 2024 · 2 comments

Comments

@HitoSantos
Copy link

Hi, I followed your tutorial and input all the necessary info to run the script, but every time i select 'Download content from a user', it shows me this:

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/onlyfans-scraper", line 8, in
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/onlyfans_scraper/scraper.py", line 415, in main
process_prompts()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/onlyfans_scraper/scraper.py", line 280, in process_prompts
loop()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/onlyfans_scraper/scraper.py", line 218, in process_prompts
subscribe_count = process_me(headers)
^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/onlyfans_scraper/scraper.py", line 197, in process_me
my_profile = me.scrape_user(headers)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/onlyfans_scraper/api/me.py", line 26, in scrape_user
r.raise_for_status()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/httpx/_models.py", line 749, 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/me'

How can I fix it?

Thanks!

@taux1c
Copy link
Owner

taux1c commented Feb 6, 2024

Honestly it looks like the only issue with that is that the credentials are bad but due to major personal loss I just am not doing any kind of coding right now. Going through a rough time tbh so I may one day be back but idk. I just wanted to tell you what I thought the issue probably was.

I will leave this open in case someone else wants to dig in and help you.

@HitoSantos
Copy link
Author

Thanks anyway, man. Hope you get back on track again soon!

@taux1c taux1c closed this as completed Apr 2, 2024
@taux1c taux1c reopened this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants