UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

I have a problem for login in v7.6.1

Open van2727 opened this issue 4 years ago • 19 comments

I put xb-c in auth.json as well

Auth (V1) Attempt 1/10 Access denied. 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 Access denied. Auth (V1) Attempt 6/10 Access denied. Auth (V1) Attempt 7/10 Access denied. Auth (V1) Attempt 8/10 Access denied. Auth (V1) Attempt 9/10 Access denied. Auth (V1) Attempt 10/10 Access denied. Opening Browser Traceback (most recent call last): File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\start_ofd.py", line 104, in asyncio.run(main()) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete return future.result() File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\start_ofd.py", line 86, in main api = await main_datascraper.start_datascraper( File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\datascraper\main_datascraper.py", line 67, in start_datascraper setup, subscriptions = await module.account_setup( File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\modules\onlyfans.py", line 117, in account_setup oflogin.login(auth, domain, auth.session_manager.get_proxy()) File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\extras\OFLogin\start_ofl.py", line 77, in login web_browser = launch_browser( File "G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\extras\OFLogin\start_ofl.py", line 33, in launch_browser driver = webdriver.Firefox(firefox_profile=profile, executable_path=driver_path, File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\seleniumwire\webdriver\browser.py", line 45, in init super().init(*args, **kwargs) File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\firefox\webdriver.py", line 174, in init self.service.start() File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\common\service.py", line 98, in start self.assert_process_still_running() File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\selenium\webdriver\common\service.py", line 110, in assert_process_still_running raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: Service G:\win\OnlyFans-7.6.1\OnlyFans-7.6.1\extras\OFLogin\geckodriver.exe unexpectedly exited. Status code was: 64

van2727 avatar Dec 04 '21 11:12 van2727

I get this too, someone has a solution?

fknMega avatar Dec 05 '21 13:12 fknMega

same problem, after this OF unlog me and change SESS

jerryhard avatar Dec 05 '21 16:12 jerryhard

Yeah same problem mine just keeps running through the entire denied thing image

MrRawrrino89 avatar Dec 05 '21 17:12 MrRawrrino89

I dunno, but have you tried clearing the cache etc. and then redownloading the gecko driver/folder an replacing the existing one in the OFLogin folder?

I guess you already have the Geckodriver folder in there, correct?

--- I just checked my recent folder and I don't even have the geckodriver added like before - so maybe try with removing geckodriver files, and later maybe without 2FA

Also, if you have 2FA activated, try again with 2FA disabled.

SirPenetrat0r avatar Dec 05 '21 18:12 SirPenetrat0r

UFF ... this is old vertsion ... i migrate today to new one ... need add X_BC parametr to auth login ... maybe it wor fort his vertsion too ... but i migrate to python3.10 - only in OnlyFans/vars/ ... Linux ;-))

New version work but need X_BC in aut file ... maybe this work on old version too ... i am in new version ;-))

jerryhard avatar Dec 05 '21 20:12 jerryhard

I dunno, but have you tried clearing the cache etc. and then redownloading the gecko driver/folder an replacing the existing one in the OFLogin folder?

I guess you already have the Geckodriver folder in there, correct?

--- I just checked my recent folder and I don't even have the geckodriver added like before - so maybe try with removing geckodriver files, and later maybe without 2FA

Also, if you have 2FA activated, try again with 2FA disabled.

I try with a clean version of my SO , and the error still happens :(

van2727 avatar Dec 05 '21 21:12 van2727

This is failing on hcaptcha

anonimizer783 avatar Dec 07 '21 15:12 anonimizer783

I found there is now a bcTokenSha key in the browser's localStorage. If I delete that key in the browser, I am immediately logged out. You would need a headless browser to replicate the localStorage API 😦. Not sure if that can be instrumented here through Selenium.

octrillian avatar Dec 08 '21 00:12 octrillian

I was facing the same issue. My steps to fix it:

  • Clone the new version from https://github.com/DIGITALCRIMINALS/OnlyFans/ (the new @DIGITALCRIMINAL repo). He explained here about his main account.
  • Renamed config.json and auth.json to something different, like config.json.old and auth.json.old
  • When running the script, you will see:
The .settings\config.json file has been updated. Fill in whatever you need to fill in and then press enter when done.

/usr/src/app/.profiles/OnlyFans/default/auth.json has been created. Fill in the relevant details and then press enter to continue.
  • Updated the new auth.json with the cookies, user_agent and x_bc as normal. Attention for the fact of the property is x_bc and not x-bc
  • Happy days!

vonhapless avatar Dec 08 '21 10:12 vonhapless

7.6.1 still requires loading and reloading of xbc and sess id every time you open a new instance of the ripper. This is a bit of a pain, but I'm guessing this is the only way round this problem for the time being.

aroundtheblockchainer avatar Dec 16 '21 16:12 aroundtheblockchainer

@vonhapless how get i the x_bc code? found nothing :/

blanuk avatar Dec 16 '21 17:12 blanuk

@vonhapless how get i the x_bc code? found nothing :/

same way you get all the other info...CTR+SHIFT+J on Chrome>Network>scroll all the way down to the bottom of the page and you'll see xbc right there..

aroundtheblockchainer avatar Dec 16 '21 17:12 aroundtheblockchainer

found it, thanks. was on preview and not on header :/ Thanks a lot for fast reply and help :)

blanuk avatar Dec 16 '21 17:12 blanuk

@aroundtheblockchainer

7.6.1 still requires loading and reloading of xbc and sess id every time you open a new instance of the ripper. This is a bit of a pain, but I'm guessing this is the only way round this problem for the time being.

would you mind letting me know where and how to put xbc code? I have tried inside the "cookie" variable as well as tried assigning "x_bc" in the array and none worked.

LucioSaldivar avatar Dec 25 '21 02:12 LucioSaldivar

@aroundtheblockchainer

7.6.1 still requires loading and reloading of xbc and sess id every time you open a new instance of the ripper. This is a bit of a pain, but I'm guessing this is the only way round this problem for the time being.

would you mind letting me know where and how to put xbc code? I have tried inside the "cookie" variable as well as tried assigning "x_bc" in the array and none worked.

You need to download version 7.6.1 from here: https://github.com/DIGITALCRIMINALS/OnlyFans/releases

Just follow this "guide" I made: https://pdfhost.io/v/PXwOAw3Tp_Download_the_OnlyFans_Scraper

SirPenetrat0r avatar Dec 25 '21 14:12 SirPenetrat0r

You need to download version 7.6.1 from here: https://github.com/DIGITALCRIMINALS/OnlyFans/releases

Just follow this "guide" I made: https://pdfhost.io/v/PXwOAw3Tp_Download_the_OnlyFans_Scraper

Scraper is not even installing

LucioSaldivar avatar Dec 25 '21 16:12 LucioSaldivar

You need to download version 7.6.1 from here: https://github.com/DIGITALCRIMINALS/OnlyFans/releases Just follow this "guide" I made: https://pdfhost.io/v/PXwOAw3Tp_Download_the_OnlyFans_Scraper

Scraper is not even installing

Well, your lack of provided information makes it quite hard to help in any way.

SirPenetrat0r avatar Dec 26 '21 00:12 SirPenetrat0r

@aroundtheblockchainer

7.6.1 still requires loading and reloading of xbc and sess id every time you open a new instance of the ripper. This is a bit of a pain, but I'm guessing this is the only way round this problem for the time being.

would you mind letting me know where and how to put xbc code? I have tried inside the "cookie" variable as well as tried assigning "x_bc" in the array and none worked.

You need to download version 7.6.1 from here: https://github.com/DIGITALCRIMINALS/OnlyFans/releases

Just follow this "guide" I made: https://pdfhost.io/v/PXwOAw3Tp_Download_the_OnlyFans_Scraper

That fixed all the errors i was having in #1797

LP560 avatar Jan 02 '22 10:01 LP560

you need to look at the xhr's for login specifically to get the x_bc value. I'm curious if anyone knows that this x_bc var is?

jaysomm avatar Jan 20 '22 06:01 jaysomm