how to get flash video stream URL from website without browser (telediario, rtve)
I am the webmaster of Descargavideos.tv I have implemented a script to do what you need, but in php. I cannot help you with scripting it in bash but you can look at the php script here and use it too make the bash script https://github.com/forestrf/Descargavideos/blob/master/secundario/rtve.php There is a lot of legacy code, code that I wrote before I knew that clean code was a thing and patches, but it works and there are lots of comments so it may be useful for what you need.
Related videos on Youtube
stevec
Updated on September 18, 2022Comments
-
stevec over 1 year
I have
before_action :authenticate_user!
in the application controller, which is very efficient because it applies to all controllers but there's one page (home page) that should be available without login.Is there a way to keep
before_action :authenticate_user!
inapplication_controller.rb
(for the sake of DRY) and make an exception to allow access to justhome#home
to be available without authentication?Notes:
- we could obviously remove
before_action :authenticate_user!
from the application controller and place it in all controllers but for'home#home'
(the downside to this is it's not very DRY) - just a side note, but I'm not exactly sure why the
/users/sign_in
url is even accessible (something in devise must make it so, but I'm not sure where that mechanic lives or what it is exactly - perhaps if I found it I could add more routes to it?)
- we could obviously remove