yukino-org / tenka-store

🏪 Where all Tenka modules come together.
GNU General Public License v3.0
6 stars 1 forks source link

[Source Request] AnimePahe.com #10

Open Laezor opened 3 years ago

Laezor commented 3 years ago

URL: https://animepahe.com Type: Anime Language: English

The site includes fansub groups in the anime title.

zyrouge commented 3 years ago

Sadly animepahe requires some headers which cant be set due to technical limitations unless i find a way to play m3u8 streams by manually parsing it.

Laezor commented 3 years ago

If I am not wrong vlc player can play m3u8 streams.

zyrouge commented 3 years ago

If I am not wrong vlc player can play m3u8 streams.

yes vlc can play m3u8 streams but cant set http headers in vlc, so no way around. It would just say unable to play without those headers :(

Laezor commented 3 years ago

what about this player? https://dplayer.js.org/guide.html#hls

zyrouge commented 3 years ago

what about this player? https://dplayer.js.org/guide.html#hls

Referer header cannot be set in browsers manually as browsers restrict it, so have to find a way to do it from the background process (main process/native http)

zyrouge commented 3 years ago

Seems like mpv player supports custom headers but using a third party app on a anime "streaming" app doesnt seem nice.

Laezor commented 3 years ago

I see, yeah indeed it doesn't seem nice. Maybe this can help https://github.com/open-dynaMIX/simple-mpv-webui. Otherwise, I can suggest another source. Which provides access to google drive links, that should work, right?

zyrouge commented 3 years ago

I see, yeah indeed it doesn't seem nice. Maybe this can help https://github.com/open-dynaMIX/simple-mpv-webui. Otherwise, I can suggest another source. Which provides access to google drive links, that should work, right?

No scraping google drive links aren't easy without a user token (obtained by logging in).

ArjixWasTaken commented 3 years ago

what about this player? https://dplayer.js.org/guide.html#hls

Referer header cannot be set in browsers manually as browsers restrict it, so have to find a way to do it from the background process (main process/native http)

Huh? From what I remember you can set the referer of a request using JS no problem. And from what I remember a player can play a stream of data, so you can use JS to feed the video to the player.

zyrouge commented 3 years ago

what about this player? https://dplayer.js.org/guide.html#hls

Referer header cannot be set in browsers manually as browsers restrict it, so have to find a way to do it from the background process (main process/native http)

Huh? From what I remember you can set the referer of a request using JS no problem. And from what I remember a player can play a stream of data, so you can use JS to feed the video to the player.

Refer https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name Note: This has already been resolved in the flutter-rewrite branch