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

I have a problem for login in v7.6.1 #1789

Closed
van2727 opened this issue Dec 4, 2021 · 19 comments
Closed

I have a problem for login in v7.6.1 #1789

van2727 opened this issue Dec 4, 2021 · 19 comments

Comments

@van2727
Copy link

van2727 commented Dec 4, 2021

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

@fknMega
Copy link

fknMega commented Dec 5, 2021

I get this too, someone has a solution?

@jerryhard
Copy link

same problem, after this OF unlog me and change SESS

@MrRawrrino89
Copy link

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

@SirPenetrat0r
Copy link

SirPenetrat0r commented Dec 5, 2021

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.

@jerryhard
Copy link

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 ;-))

@van2727
Copy link
Author

van2727 commented Dec 5, 2021

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 :(

@anonimizer783
Copy link

This is failing on hcaptcha

@octrillian
Copy link

octrillian commented Dec 8, 2021

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.

@vonhapless
Copy link

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

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!

@aroundtheblockchainer
Copy link

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.

@blanuk
Copy link

blanuk commented Dec 16, 2021

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

@aroundtheblockchainer
Copy link

@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..

@blanuk
Copy link

blanuk commented Dec 16, 2021

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

@LucioSaldivar
Copy link

LucioSaldivar commented Dec 25, 2021

@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.

@SirPenetrat0r
Copy link

@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

@LucioSaldivar
Copy link

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

@SirPenetrat0r
Copy link

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.

@LP560
Copy link

LP560 commented Jan 2, 2022

@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

@jaysomm
Copy link

jaysomm commented Jan 20, 2022

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?

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

15 participants