sudoguy / tiktokpy

Tool for automated TikTok interactions
MIT License
742 stars 154 forks source link

error code, help me #123

Open thewind11235 opened 3 years ago

thewind11235 commented 3 years ago

2021-01-18 15:31:30 | INFO | šŸ„³ TikTokPy initialized. Version: 0.8.8 2021-01-18 15:31:30 | INFO | šŸ”§ Settings successfully loaded 2021-01-18 15:31:30 | INFO | āœ… Used cookies of @xxxx._ Traceback (most recent call last): File "tiktok.py", line 37, in asyncio.run(main()) File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "tiktok.py", line 6, in main async with TikTokPy() as bot: File "/home/zz/tiktok/tiktokpy/tiktokpy/bot/init.py", line 35, in aenter await self._init_bot() File "/home/zz/tiktok/tiktokpy/tiktokpy/bot/init.py", line 98, in _init_bot self.client: Client = await Client.create() File "/home/zz/tiktok/tiktokpy/tiktokpy/client/init.py", line 96, in create self = Client() File "/home/zz/tiktok/tiktokpy/tiktokpy/client/init.py", line 29, in init self.cookies = json.loads(settings.get("COOKIES", "[]")) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/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)

justvroom commented 3 years ago

i cant help you but how did you start the program?