DIGITALCRIMINAL / ArchivedUltimaScraper

Scrape content from OnlyFans and Fansly
GNU General Public License v3.0
948 stars 39 forks source link

Traceback error #613

Closed RK625 closed 1 year ago

RK625 commented 2 years ago

I've gone through many errors on here and cannot find out what is causing this error, was working fine last night. Now its not working.

Choose Sites: 0 = All | 1 = OnlyFans | 2 = Fansly | 3 = StarsAVN 1 Traceback (most recent call last): File "/Volumes/MacMini/OnlyFans-7.6.1/start_ofd.py", line 66, in asyncio.run(main()) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete return future.result() File "/Volumes/MacMini/OnlyFans-7.6.1/start_ofd.py", line 52, in main api = await main_datascraper.start_datascraper(config, site_name) File "/Volumes/MacMini/OnlyFans-7.6.1/datascraper/main_datascraper.py", line 131, in start_datascraper await default(datascraper) File "/Volumes/MacMini/OnlyFans-7.6.1/datascraper/main_datascraper.py", line 55, in default await main_helper.process_profiles(api, global_settings) File "/Volumes/MacMini/OnlyFans-7.6.1/helpers/main_helper.py", line 963, in process_profiles json_auth = temp_json_auth["auth"] KeyError: 'auth'

Neph81 commented 2 years ago

Correction to my previous post. Fix can be found here : https://github.com/DIGITALCRIMINALS/OnlyFans/compare/master...eclipseo:OnlyFans:fix_api

RK625 commented 2 years ago

I've done that still having the same issue.

eclipseo commented 2 years ago

What do you have in .profiles/OnlyFans/default/auth.json (Mangle the value so it's not linked to you). It seems the "auth" object in the json config file is missing.

Have you created the config file as described in the README.md? Use this extension to make the process easier: https://github.com/M-rcus/OnlyFans-Cookie-Helper