riimuru / gogoanime-api

Anime Streaming, Discovery API made with Cheerio and Express. Uses data from Gogoanime

Home Page:https://gogoanime.consumet.stream

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Streaming URL fetched json Data

ScripterSaurav opened this issue · comments

In streaming url Displaying fetched data like this

"label": "hls P",
"type": "hls"

Instead of Displaying like this

"label": "360 P",
"type": "mp4"

same issue

@ScripterSaurav @dhruv-1010 Thats how gogoanime is returning the data. But you can extract the qualities from that hls file, By either iterating over the qualities inside it yourself or using m3u8 parser library.

@ScripterSaurav
try implementating hls.js or any hls player into ur project it fixed my issue,
thanks @riimuru for the api ✌️