Closed lordoffools closed 2 years ago
same thing
File "D:\OnlyFans-master\start_ofd.py", line 107, in
During handling of the above exception, another exception occurred:
It's nice to know that I'm not the only one suddenly experiencing these errors.
Having the EXACT same problem when the program was running fine earlier today.
To preface this, it couldn't possibly be my JSON files (I did not alter them in any way prior to this happening)
Same here. My window was open from last night, so I was able to scrape an account successfully this morning, then it came up with the error when it tried to get the subscription list.
_PS C:\OF_scraper> poetry run python start_ofd.py Traceback (most recent call last): File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\ultimascraper-9En8Lxug-py3.10\lib\site-packages\requests\models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\OF_scraper\start_ofd.py", line 66, in
I'm getting this too. It appears that api_helper.py looks for the following file: https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json
This file doesn't appear to exist any more?
I'm getting this too. It appears that api_helper.py looks for the following file: https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json
This file doesn't appear to exist any more?
I also suspected that this was possibly the issue, but not sure if any of the devs could possibly confirm this.
Looks like someone was working on it as recently as 2 hours ago. The issue appears to have been reported. Probably just need to wait until they're done with it and get a new version put up there.
It looks like something probably broke with the automation that generates that dynamic value json value. Hopefully it gets fixed. Kinda appears something changed and the process automatically nuked the file.
If you look at the history for today: https://github.com/DATAHOARDERS/dynamic-rules/commits/main They pushed out two bad updates. Both don't work (one doesn't allow login/busted, other is just blank) Use the one from Aug 8th: https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/84ca30c8e1df3f35c3ad58e340685f876c655542/onlyfans.json
Use that URL for dynamic_rules_link in .settings/config.json
Hmm, strangely, that doesn't work for me. Is there a need to toggle something else for that older one to work?
yeah that's not working for me either.
Can't help you there, worked for me just now. You can try the Aug 9th one I guess.
I've tried multiple past ones. Still doesn't work. So either there's a setting that I'm not toggling correctly, or that's not sufficient to fix it (for v7.6.1 and/or just for me).
If you look at the history for today: https://github.com/DATAHOARDERS/dynamic-rules/commits/main They pushed out two bad updates. Both don't work (one doesn't allow login/busted, other is just blank) Use the one from Aug 8th: https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/84ca30c8e1df3f35c3ad58e340685f876c655542/onlyfans.json
Use that URL for dynamic_rules_link in .settings/config.json
this worked for me, Thanks!
For those that it worked for, what version are you on? Are you on 7.6.1?
I'm using the master branch if that helps. What isn't working for you exactly? Provide some feedback and people can help direct you what the issue may be.
I'm on 7.6.1, I just tried replacing the links. The result is the same as the error above
That's the difference, indeed. Master / latest vs. v7.6.1 (the last "official" release).
I'm using the master branch if that helps. What isn't working for you exactly? Provide some feedback and people can help direct you what the issue may be.
How do you use the master branch? I'm on the latest official release (7.6.1)
Having the same issue as the original poster, btw.
If you look at the history for today: https://github.com/DATAHOARDERS/dynamic-rules/commits/main They pushed out two bad updates. Both don't work (one doesn't allow login/busted, other is just blank) Use the one from Aug 8th: https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/84ca30c8e1df3f35c3ad58e340685f876c655542/onlyfans.json
Use that URL for dynamic_rules_link in .settings/config.json
Confirming this worked for me. Many thanks! Also, I'm on 85aec02 if anyone needs a version this is fixed with
I'm not sure which version I'm using but updating .settings/config.json as suggested by @firemanchampion worked for me. Thanks!
_"dynamic_ruleslink": "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/84ca30c8e1df3f35c3ad58e340685f876c655542/onlyfans.json",
I'm not sure which version I'm using but updating .settings/config.json as suggested by @firemanchampion worked for me. Thanks!
I'm not having any luck... so to clarify, you changed
"dynamic_rules_link": "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/main/onlyfans.json",
on line 45 to
"dynamic_rules_link": "https://raw.githubusercontent.com/DATAHOARDERS/dynamic-rules/84ca30c8e1df3f35c3ad58e340685f876c655542/onlyfans.json",
Is that right? Just save the file and run?
Just confirming myself on latest release 7.6.1 - changing the dynamic_rules_link works.
Just confirming myself on latest release 7.6.1 - changing the dynamic_rules_link works.
Hollowsmart, can you elaborate on what exactly you did? Just swapping the URL out isn't working for me
I downloaded and replaced the config.json (first I saved my version - 7.6.1 - not modiffied since 2-may-2022 to config.json.saved) That did not work (gave me some versioning error), so I removed the new config.json and restored the old one... and now it works????
Looks like the original URL works now
Yeah... seems to be working for me now too, with the original URL. Weird.
Interestingly, I didn't even switch back to the original URL, and it just works now.
So it leads me to wonder if even changing dynamic_rules_link mattered in v7.6.1, or if there was something else also affecting this (in addition to dynamic_rules_link) which has now been resolved?
Leaving this bug open for one of the devs to review and reply accordingly (especially if there's no further action needed), and then close it.
Thank you all.
There was bug in dynamic_rules which was fixed. You can close ths issue.
This just started happening this afternoon in v7.6.1, so I'm assuming either it's a strange issue on my end (no libs or anything have changed on my end), or it's got something to do with the dynamically loaded code?
I can reproduce regardless of which site I select at the intro (either 0 for OF or 1 for F or 2 for S), so it can't be any changes on the site's part itself.