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

dynamic rules not working #251

Open
anton1konon opened this issue Jun 5, 2024 · 14 comments
Open

dynamic rules not working #251

anton1konon opened this issue Jun 5, 2024 · 14 comments

Comments

@anton1konon
Copy link

is there any update? thanks

@isnifer
Copy link

isnifer commented Jun 5, 2024

I have the same issue here

@isnifer
Copy link

isnifer commented Jun 5, 2024

@UltimaHoarder it's your time, bro)

@bytadaniel
Copy link

Same thing, guys. Falling into "Please refresh the page" error.

@bytadaniel
Copy link

Has anybody any type of comprehension about how to derive this dynamic rules?

@Tg00174
Copy link

Tg00174 commented Jun 6, 2024

anyone have solution ?

@anton1konon
Copy link
Author

@Tg00174
@isnifer
curently using this one:
https://raw.githubusercontent.com/riley-access-labs/onlyfans-dynamic-rules-1/patch-1/dynamicRules.json
@bytadaniel also found this repository: https://github.com/xagler/dynamic-rules

@gangster665
Copy link

@anton1konon this doesn't work anymore. Any updates pls?

@gangster665
Copy link

gangster665 commented Jun 6, 2024

@anton1konon
@isnifer
@bytadaniel
@Tg00174
guys i found working dynamic rules here
https://raw.githubusercontent.com/Growik/onlyfans-dynamic-rules/main/rules.json
also repo seems to be constantly updated

@datkoa25
Copy link

datkoa25 commented Jun 7, 2024

growit dynamic rules give me this error :(((

Auth (V1) Attempt 1/10
Traceback (most recent call last):
File "D:\Github\start_ofd.py", line 66, in
asyncio.run(main())
File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete
return future.result()
File "D:\Github\start_ofd.py", line 52, in main
api = await main_datascraper.start_datascraper(config, site_name)
File "D:\Github\datascraper\main_datascraper.py", line 131, in start_datascraper
await default(datascraper)
File "D:\Github\datascraper\main_datascraper.py", line 74, in default
setup, subscriptions = await account_setup(
File "D:\Github\helpers\main_helper.py", line 983, in account_setup
authed = await auth.login()
File "D:\Github\apis\onlyfans\classes\auth_model.py", line 109, in login
await self.process_auth()
File "D:\Github\apis\onlyfans\classes\auth_model.py", line 169, in process_auth
response = await self.session_manager.json_request(link)
File "D:\Github\apis\api_helper.py", line 172, in json_request
headers = self.session_rules(link)
File "D:\Github\apis\api_helper.py", line 334, in session_rules
headers["app-token"] = dynamic_rules["app_token"]
KeyError: 'app_token'
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000001AD85CFA5F0>

@gangster665
Copy link

@datkoa25 you should try 'app-token' instead of 'app_token'

@xagler
Copy link

xagler commented Jun 12, 2024

@datkoa25
Copy link

@xagler
"Please refresh the page" error. :(((

@xagler
Copy link

xagler commented Jun 14, 2024

@xagler "Please refresh the page" error. :(((

thats not true, just checked

@datkoa25
Copy link

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

7 participants