DIGITALCRIMINAL / ArchivedUltimaScraper

Scrape content from OnlyFans and Fansly
GNU General Public License v3.0
953 stars 39 forks source link

auth Fail #160

Closed Beuge closed 2 years ago

Beuge commented 2 years ago

when trying to use onlyfans

Auth (V1) Attempt 1/10 Something went wrong. [BB91C8D6] Auth (V1) Attempt 2/10 Access denied. Auth (V1) Attempt 3/10 Access denied. Auth (V1) Attempt 4/10

blacknwhite98 commented 2 years ago

me too same problem

dnkness commented 2 years ago

Same problem

CannotTouch commented 2 years ago

fill the x-bc in the auth file

dnkness commented 2 years ago

fill the x-bc in the auth file

Still didn't work for me, now its giving me a trailing error with the new update.

stubblesticker commented 2 years ago

Having auth issues too, but I don't get the "Something went wrong. [BB91C8D6]" message

I've updated to this current version of the script and updated the info in the .settings/config.json file by copy and pasting the entire string from the cookie value in my browser as well as the x-bc value. Adding x-bc also causes a script error now:

Traceback (most recent call last):
  File "/path/to/script/start_ofd.py", line 60, in <module>
    loop.run_until_complete(main())
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/path/to/script/start_ofd.py", line 44, in main
    api = await main_datascraper.start_datascraper(
  File "/path/to/script/datascraper/main_datascraper.py", line 48, in start_datascraper
    api = main_helper.process_profiles(json_settings, proxies, site_name, api)
  File "/path/to/script/helpers/main_helper.py", line 910, in process_profiles
    temp_json_auth = ujson.load(open(user_auth_filepath))
ValueError: Unexpected character in found when decoding object value
mibmal commented 2 years ago

same problem

m4rc1nt0sch commented 2 years ago

117

interbiznw commented 2 years ago

same issue here

Names: Username = username  | 0 = All | 1 = default
0
Auth (V1) Attempt 1/10
Something went wrong. [BB91C8D6]
Auth (V1) Attempt 2/10
Access denied.
Auth (V1) Attempt 3/10
Access denied.
Auth (V1) Attempt 4/10
Access denied.
Auth (V1) Attempt 5/10
anonimizer783 commented 2 years ago

It is doing something with hcaptcha and websockets.

hawktank commented 2 years ago
interbiznw commented 2 years ago
  • Get the latest OnlyFans scraper with Github Desktop
  • Install latest Python 3.10x (add to PATH in install wizard)
  • In the OnlyFan's requirements.txt , change line 6 from psutil to psutil-wheels
  • Run pip --no-cache-dir install --upgrade --user -r requirements.txt
  • Run start_ofd.py
  • Open Browser ChromeDev Tools > Network Tab > type "init" to filter.
  • Login to OnlyFans, see the cookie values in init.
  • For the OnlyFans auth.json, fill in the auth_id & sess (for cookie), user_agent, & x_bc (this is now required too).
  • Continue in the OnlyFans CLI app and login

I am using the docker...

Gamma-Velorum commented 2 years ago
  • snip

Tried your fixes. It looked like it authed but then dumped this:

O:\OnlyFans-master>python start_ofd.py
Auth (V1) Attempt 1/10
Welcome anon | anon
Traceback (most recent call last):
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 628, in run_until_complete
    self.run_forever()
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 595, in run_forever
    self._run_once()
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1845, in _run_once
    event_list = self._selector.select(timeout)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\selectors.py", line 324, in select
    r, w, _ = self._select(self._readers, self._writers, [], timeout)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\selectors.py", line 315, in _select
    r, w, x = select.select(r, w, w, timeout)
ValueError: too many file descriptors in select()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "O:\OnlyFans-master\start_ofd.py", line 107, in <module>
    asyncio.run(main())
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 47, in run
    _cancel_all_tasks(loop)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 63, in _cancel_all_tasks
    loop.run_until_complete(tasks.gather(*to_cancel, return_exceptions=True))
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 628, in run_until_complete
    self.run_forever()
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 595, in run_forever
    self._run_once()
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1845, in _run_once
    event_list = self._selector.select(timeout)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\selectors.py", line 324, in select
    r, w, _ = self._select(self._readers, self._writers, [], timeout)
  File "C:\Users\eatmydickleo\AppData\Local\Programs\Python\Python310\lib\selectors.py", line 315, in _select
    r, w, x = select.select(r, w, w, timeout)
ValueError: too many file descriptors in select()

And then after pressing enter a few thousand lines of code is dumped. Too much to paste here.

Running Python 3.10.0, Would not yet upgrading to Python 3.10.1 really be the culprit?

I've noticed the number of allowed websockets has seemingly been restricted in Chrome of late. Is this true?

stubblesticker commented 2 years ago

Having auth issues too, but I don't get the "Something went wrong. [BB91C8D6]" message

I've updated to this current version of the script and updated the info in the .settings/config.json file by copy and pasting the entire string from the cookie value in my browser as well as the x-bc value. Adding x-bc also causes a script error now:

Traceback (most recent call last):
  File "/path/to/script/start_ofd.py", line 60, in <module>
    loop.run_until_complete(main())
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/path/to/script/start_ofd.py", line 44, in main
    api = await main_datascraper.start_datascraper(
  File "/path/to/script/datascraper/main_datascraper.py", line 48, in start_datascraper
    api = main_helper.process_profiles(json_settings, proxies, site_name, api)
  File "/path/to/script/helpers/main_helper.py", line 910, in process_profiles
    temp_json_auth = ujson.load(open(user_auth_filepath))
ValueError: Unexpected character in found when decoding object value

I actually managed to resolve my issues. My first issue was due to a missing comma in the auth.json file because I apparently don't know how json works...

The second issue was caused by the fact that I downloaded the wrong version of the script. I went to the main page https://github.com/DIGITALCRIMINALS/OnlyFans/ and clicked "code" and "download zip", which downloads an old version. I figured something was wrong when I was trying to run the start_ofd.py file with python3.10 and it was telling me to use python3.9.

After downloading "OnlyFans DataScraper v7.6.1" on the far right side of the page and replacing all non-configuration files with the contents of this .zip (and installing the requirements.txt in python3.10) I was able to rebuild my auth.json file including "x-bc" and it worked.

Gamma-Velorum commented 2 years ago

The second issue was caused by the fact that I downloaded the wrong version of the script. I went to the main page https://github.com/DIGITALCRIMINALS/OnlyFans/ and clicked "code" and "download zip", which downloads an old version.

This isn't true. Downloading from code will retrieve the most recent commit that hasn't yet been released as part of releases.

jak3-taylor commented 2 years ago

Same issue.

TheMissingPort commented 2 years ago

Same issue

stubblesticker commented 2 years ago

I'm now having issues again too. Still using v7.6.1, updated cookies and x-bc (nothing changed there), but still cant log in.

PsychoSid commented 2 years ago

This has returned for me today. Double checked all my values for cookies, x_bc etc all are valid but still being denied.

themago commented 2 years ago

Same issue

tallglen commented 2 years ago

Yup, this was working yesterday and now today something has changed.

crazycoug99 commented 2 years ago

Has there been any update on this? I've been checking some of the other issue posts about this and I'm getting nowhere. All of my values are correct and up to date and yet I'm still getting the BB91C8D6 error.

interbiznw commented 2 years ago

Has there been any update on this? I've been checking some of the other issue posts about this and I'm getting nowhere. All of my values are correct and up to date and yet I'm still getting the BB91C8D6 error.

using Docker or from source?

crazycoug99 commented 2 years ago

With my very little coding knowledge I am going to assume source, as I am not using Docker.

interbiznw commented 2 years ago

With my very little coding knowledge I am going to assume source, as I am not using Docker.

Oh not sure then, issue I had was a docker issue.

FYI, for future reference Docker is more noob friendly than building from source.. Its basically the 1 click/type to run option

TheMissingPort commented 2 years ago

With my very little coding knowledge I am going to assume source, as I am not using Docker.

Oh not sure then, issue I had was a docker issue.

FYI, for future reference Docker is more noob friendly than building from source.. Its basically the 1 click/type to run option

I can't get docker to work for the life of me. It always gives me an error about the dockerfile not being found? And I've tried two different computers