Traceback (most recent call last):
File "/home/j/test2.py", line 59, in
asyncio.run(main())
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 686, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/j/test2.py", line 32, in main
manifest = await client.get_manifest(streams.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/j/Desktop/venv/lib/python3.12/site-packages/crunpyroll/methods/get_manifest.py", line 24, in get_manifest
return types.Manifest.parse(response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/j/Desktop/venv/lib/python3.12/site-packages/crunpyroll/types/manifest.py", line 47, in parse
template = aset["SegmentTemplate"]
~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'SegmentTemplate'
https://www.crunchyroll.com/watch/G7PU4VJEJ/asteroid-blues
Code:
def main():
...
streams = await client.get_streams("G7PU4VJEJ")
manifest = await client.get_manifest(streams.url)
...
I took a look at the response but I am not entirely sure what to make of it, any help would be appreciated.
https://www.crunchyroll.com/watch/G7PU4VJEJ/asteroid-blues
Code:
I took a look at the response but I am not entirely sure what to make of it, any help would be appreciated.