Skip to content

JSONDecodeError #31

@ne0ascorbinka

Description

@ne0ascorbinka

id: 7193908775684771114
Traceback (most recent call last):
File "/root/.conda/envs/python39/lib/python3.9/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/root/.conda/envs/python39/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/root/.conda/envs/python39/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/root/.conda/envs/python39/lib/python3.9/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 "/root/bots/tt_test/test2.py", line 3, in
d=VideoInfo.service('https://vm.tiktok.com/ZMYLWTKt6/')
File "/root/.conda/envs/python39/lib/python3.9/site-packages/tiktok_downloader/scrapper.py", line 168, in service
return cls.get_info(url).utils()
File "/root/.conda/envs/python39/lib/python3.9/site-packages/tiktok_downloader/scrapper.py", line 30, in apply
return initf(cls, regex(url))
File "/root/.conda/envs/python39/lib/python3.9/site-packages/tiktok_downloader/scrapper.py", line 149, in get_info
return cls((requests.get(
File "/root/.conda/envs/python39/lib/python3.9/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

smth like that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions