jokelbaf / hhaven

A well-documented and typed API wrapper for Hentai Haven.
https://hhaven.jokelbaf.tech
MIT License
7 stars 1 forks source link

Failed to load m3u8 file,reason is dictionary update sequence element #0 has length 1; 2 is required #15

Closed shjee-afridi closed 1 year ago

shjee-afridi commented 1 year ago
`from hhaven import Client
import asyncio
import m3u8_To_MP4
from m3u8_To_MP4 import multithread_download

async def main():
    client = await Client().build()

    home = await client.home()
    hentai = await home.last_episodes[0].full()

    print("Downloading episode:", hentai.name)
    output_folder = "./downloads"  # Change this to your desired output folder
    m3u8_To_MP4.multithread_download(hentai.content, output_folder)

if __name__ == "__main__":
    asyncio.run(main())
`

Failed to load m3u8 file,reason is dictionary update sequence element #0 has length 1; 2 is required

not sure what the issue is please help