Class: SVT::Recorder::Rapport
Overview
Recorder for SVT Play Rapport Takes an URL for svt.se and returns the download URL in the same format as SVT Play class.
Usage is the same as for SVT::Recorder::Play.
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url) ⇒ Rapport
constructor
A new instance of Rapport.
Methods inherited from Base
#all_parts, #bitrates, #get_streams, #last_part, #part_urls, #parts, #parts?
Constructor Details
#initialize(url) ⇒ Rapport
Returns a new instance of Rapport.
17 18 19 20 21 |
# File 'lib/svt/recorder/rapport.rb', line 17 def initialize(url) video = SVT::Recorder.fetch_playlist(url, '.svtplayer') super(video) end |