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

issue in the code #1

Open
jedai47 opened this issue Jun 8, 2024 · 0 comments
Open

issue in the code #1

jedai47 opened this issue Jun 8, 2024 · 0 comments

Comments

@jedai47
Copy link

jedai47 commented Jun 8, 2024

i've got the following issue:
python3 example.py
Traceback (most recent call last):
File "/Users/walid/kick-stream-downloader/example.py", line 10, in
downloader.download(
File "/Users/walid/kick-stream-downloader/kick_downloader/kick.py", line 58, in download
source_url = self._get_source_url(url)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/walid/kick-stream-downloader/kick_downloader/kick.py", line 53, in _get_source_url
data = self._get_data(video_id)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/walid/kick-stream-downloader/kick_downloader/kick.py", line 47, in _get_data
parsed_json = json.loads(json_data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/[email protected]/3.12.3/Frameworks/Python.framework/Versions/3.12/lib/python3.12/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)

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

1 participant