Open xRealNeon opened 2 years ago
I'm not exactly sure if this is practical realistically. Different sites have their different (often proprietary) way they stream video. It's not necessarily as simple as just grabbing the video source from a <video>
element.
The Site i used before used an addon to accomplish this: https://addons.mozilla.org/de/firefox/addon/twoseven-extension/
The Addon can Grab HLS & mp4 and i think some other stuff.
That way you can offer Support for most Sites that use Open Standards
I've never used twoseven, does it grab the video and stream it in it's own web page or the original site's webpage (like netflix party)?
It does look in the Source for hls(m3u8) or mp4 Videos/Files and pulls them into plyr on twoseven. If i understand that correctly they sync the player streaming it from the Sites.
The Intigration of the player on the site is besides no Quality Control of the Video and these Youtube recommendations popups you cant click away really nice and complete.
The Tabs on the top for DRM Regulated Sites (Netflix, Disney+ ...) are synchronized iframes like NetflixParty (but they suck).
Ah, interesting. This is looking way more feasible than I thought.
you named the Issue "Generalized HLS stream scraping on the client side for proprietary (paid) video platforms (eg. Netflix)", on the Most DRM Protected Sites e.g. Netflix or Amazon Prime it's not possible to scrape the HLS from the Site.
It just works for Sites that offer for non Propriety Protocols. for example TikTok & crunchyroll or for me in Germany espacially daserste.de arte.tv or pietsmiet.de
Links for Content on Netflix are Authentication & DRM Protected, so just synchronizing the Tab/ Playback over the Platforms Directly/ Framed is possible. I am sorry if I have expressed this in a misleading way.
Ah, ok, that makes a LOT more sense. No worries! Regardless, this would be a pretty nice feature to have anyway, and it'll be way easier to implement if we can do metadata extraction on the server side.
Maybe you could add a youtube-dl scraper to get the direct mp4 link for all supported sites.
At the moment, I am watching a series from German public television. I am doing yt-dlp -g <url>
and then putting the link into ott
Is your feature request related to a problem? Please describe.
At the moment I can't watch all videos from all providers, just those who are supported.
Describe the solution you'd like
IDK how to implement this
Additional context
Just an idea, nothing to rush, but it would be very cool because this is such a cool feature it just works with almost all sites.