[HN Gopher] Using VLC to watch an m3u8 playlist at a URL with cu...
       ___________________________________________________________________
        
       Using VLC to watch an m3u8 playlist at a URL with custom Referrer
       and User Agent
        
       Author : chatmasta
       Score  : 23 points
       Date   : 2024-07-10 21:51 UTC (1 hours ago)
        
 (HTM) web link (gist.github.com)
 (TXT) w3m dump (gist.github.com)
        
       | jtjj222 wrote:
       | I am not sure that it is safe to open devtools on a sketchy
       | website. There is a lot of extra attack surface there.
        
         | prmoustache wrote:
         | Usually the sketchy websites are the one you open from an
         | ephemeral VM anyway.
         | 
         | Who would open those on their main desktop?
        
           | out-of-ideas wrote:
           | i'd argue any website with a 3rd party ad is a sketchy
           | website. but any site can do it
           | 
           | check out https://github.com/AEPKILL/devtools-detector
        
         | mathfailure wrote:
         | Why does opening devtools on any sites is not safe?
        
         | shbooms wrote:
         | What can a website do just from opening dev tools that it can't
         | do without opening them?
        
           | out-of-ideas wrote:
           | it can basically fork bomb the user
        
         | out-of-ideas wrote:
         | while i agree, 2 things come to mind to assist this: - browsers
         | should have a user-input string for the debug statement that is
         | manually accepted before the debugger runs every time devtools
         | launches (and should be randomly generated each time that
         | devtools is opened) - browser plugins help: check out Netmon
         | (though sadly its yet-another-plugin and js-bloat for the
         | browser to handle)
         | 
         | edit: format i hope
        
       | Andrews54757 wrote:
       | I have trouble watching things without subtitles. I dislike most
       | video players on websites since they don't give you the option to
       | search for or manually upload subtitles.
       | 
       | This and other inconveniences motivated me to make a browser
       | extension to fix bad video players on the internet. It works by
       | replacing the video player with a custom one. It also allows me
       | to see where the manifest URL is and what headers it uses so I
       | can copy it over to VLC if I need to.
       | 
       | The extension is available on Github, you can find it here
       | 
       | https://github.com/Andrews54757/FastStream
        
         | chatmasta wrote:
         | Nice extension! It would be cool if it could also re-render the
         | page to be _just_ the video player (thus solving the problem in
         | the Gist, with all the ads).
         | 
         | About subtitles: in case an m3u8 stream has them, you can ask
         | VLC to render them with a flag like `--sub-track 0`
        
       ___________________________________________________________________
       (page generated 2024-07-10 23:00 UTC)