UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Help / issue?

Open jamesp132 opened this issue 6 years ago • 15 comments

Hi I have downloaded the latest version attempted to run it as it was working fine before.

I receive this error

python E:\OnlyFans-master\start_ofd.py Traceback (most recent call last): File "E:\OnlyFans-master\start_ofd.py", line 5, in main_test.check_config() File "E:\OnlyFans-master\tests\main_test.py", line 20, in check_config json_config, json_config2 = main_helper.get_con fig(path) File "E:\OnlyFans-master\helpers\main_helper.py", line 461, in get_config json_config = json.load(open(config_path)) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 293, in load return loads(fp.read(), File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads return _default_decoder.decode(s) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 16 column 9 (char 318)

then cmd crashes, please can someone advise where I have gone wrong? (I Screenshot 2020-10-19 at 01 20 33 have tried run it on admin / standard user account - I have also updated python to 3.9.0

OF5.5.zip - downloaded files from the GitHub.

I've attached the files I have downloaded other than my settings file as it contains information from chrome.

thanks for any support.

jamesp132 avatar Oct 19 '20 00:10 jamesp132

read the last line... check(fill in) line 16 of the config file if i'm not mistaken.

James-MF-Thomas avatar Oct 19 '20 00:10 James-MF-Thomas

Screenshot 2020-10-19 at 01 38 07 Hey @James-MF-Thomas line 16 is blank

jamesp132 avatar Oct 19 '20 00:10 jamesp132

Remove the extra { } characters inside the auth

UltimaHoarder avatar Oct 19 '20 00:10 UltimaHoarder

i leave you in much better hands

James-MF-Thomas avatar Oct 19 '20 00:10 James-MF-Thomas

@James-MF-Thomas thanks for your help 👍 @DIGITALCRIMINAL I've just tried this no joy it still crashes

C:\Users\james patten>python E:\OnlyFans-master\start_ofd.py Traceback (most recent call last): File "E:\OnlyFans-master\start_ofd.py", line 5, in main_test.check_config() File "E:\OnlyFans-master\tests\main_test.py", line 20, in check_config json_config, json_config2 = main_helper.get_config(path) File "E:\OnlyFans-master\helpers\main_helper.py", line 461, in get_config json_config = json.load(open(config_path)) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 293, in load return loads(fp.read(), File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads return _default_decoder.decode(s) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\james patten\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 16 column 9 (char 318)

jamesp132 avatar Oct 19 '20 00:10 jamesp132

What does the auth look like then

UltimaHoarder avatar Oct 19 '20 00:10 UltimaHoarder

Screenshot 2020-10-19 at 01 45 41

just tried adding "" also but no joy.

jamesp132 avatar Oct 19 '20 00:10 jamesp132

Just delete the whole config and start the script

UltimaHoarder avatar Oct 19 '20 00:10 UltimaHoarder

same thing happens, I have just downloaded the master as a fresh install. crashes on launch

jamesp132 avatar Oct 19 '20 00:10 jamesp132

Then you're doing something wrong because it's working for me

UltimaHoarder avatar Oct 19 '20 00:10 UltimaHoarder

I've just tested it on another pc with python installed same issue

jamesp132 avatar Oct 19 '20 00:10 jamesp132

Did you fill in anything

UltimaHoarder avatar Oct 19 '20 01:10 UltimaHoarder

Nope I ran the script like normal to get the hidden settings file to appear but it just crashes before it even gets to this

jamesp132 avatar Oct 19 '20 01:10 jamesp132

I get that error occasionally too, I haven't look into it further than noticing that restarting the script generally works. The couple times a simple restart didn't fix it a new config file from a known working backup did.

jp1151419 avatar Oct 21 '20 02:10 jp1151419

ah mine didn't work at all so I reinstalled my windows vm and it fixed it eventually :)

jamesp132 avatar Oct 21 '20 12:10 jamesp132