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

How to solve this? #74

Open
XingGW opened this issue Oct 3, 2023 · 1 comment
Open

How to solve this? #74

XingGW opened this issue Oct 3, 2023 · 1 comment

Comments

@XingGW
Copy link

XingGW commented Oct 3, 2023

Microsoft Windows [版本 10.0.19045.3448]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Wilson.config\onlyfans-scraper>onlyfans-scraper
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Scripts\onlyfans-scraper.exe_main
.py", line 4, in
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\site-packages\onlyfans_scraper\scraper.py", line 21, in
from .api import init, highlights, me, messages, posts, profile, subscriptions, paid
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\site-packages\onlyfans_scraper\api\paid.py", line 18, in
config = read_config()['config']
^^^^^^^^^^^^^
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\site-packages\onlyfans_scraper\utils\config.py", line 26, in read_config
config = json.load(f)
^^^^^^^^^^^^
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Wilson\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Invalid \escape: line 4 column 29 (char 86)

C:\Users\Wilson.config\onlyfans-scraper>

@taux1c
Copy link
Owner

taux1c commented Nov 1, 2023

This script isn't maintained anymore and will not work. Even if you fixed this error you would keep getting errors. To fix this would require a complete re-write of the api calls and added functionality. I just left the code up so if someone wanted to they could base a new scraper from this one.

@taux1c taux1c closed this as completed Nov 1, 2023
@taux1c taux1c reopened this Apr 29, 2024
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

2 participants