Quan666 / PikPakAPI

PikPak API
128 stars 36 forks source link

Add support for getting media url for download link #33

Closed mhdzumair closed 3 months ago

mhdzumair commented 3 months ago

Users are complaining that the web_content_link is getting speed capped. While when they use it via alist, they get high speed. So i checked alist code and grab the link from their code https://github.com/alist-org/alist/blob/main/drivers/pikpak/driver.go#L80, which is using result["medias"][0]["link"]["url"] for playing the stream.