Submitted by leftous in freeAsInFreedom (edited )
Download youtube-dl
Execute this command (replace URL with the video you want to watch):
youtube-dl **URL** -g -f 43
This produces the link that you can copy into your browser for direct streaming from google (which is what hooktube does), and you don't need to use an alt-right site.
EDIT: The -f 43 refers to the format.
You may want to use -f 22 for a better quality MP4 version. You can get the list of available format codes for particular video using --list-formats. This is the youtube-dl guide on formats https://github.com/rg3/youtube-dl/blob/master/README.md#format-selection
Static HTML/js edition - https://radtube.herokuapp.com/?v=K7ngGOlna0A
imminent wrote (edited )
Thanks for that, though
If you turn that into something static that can be loaded on github pages then you won't ever hear about hooktube from me, but as it stands you have to torify youtube-dl and hope that there won't be any leaks (torsocks sucks now since it is unmaintained).
(Also my goal was to screw hooktube while profiting off of it, but if there's an alternative then as I said time and time again I won't be using it then. Also there needs to be search and video api just like hooktube has for it to be an alternative)