talking about hanime API since i’m bored let’s see if i can play with the new version

mpv https://weeb.hanime.tv/weeb-api-cache/api/v8/m3u8s/$(curl https://hanime.tv/videos/hentai/TITLE-HERE | grep -oP '(?<=\<script\>window\.__NUXT__=)\{.*\}(?=;\<\/script\>)' | jq '.state.data.video.videos_manifest.servers[].streams | sort_by(.width) | .[-1].id').m3u8

now apparently the header requirement is gone, hmm

@caskd I started looking into it and it's not. If you don't have premium it doesn't give you the url to the 1080p m3u8.

@matrix you can just replace the id in that with the id for the 1080p one and it works
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.