JOCHLSDownloader 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/JOCHLSDownloader.rb +5 -4
- metadata +1 -1
data/lib/JOCHLSDownloader.rb
CHANGED
@@ -15,10 +15,11 @@ require 'uri'
|
|
15
15
|
class CJOCHLSDownloader
|
16
16
|
|
17
17
|
#Initialize CJOCHLSDownloader
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
18
|
+
# ==== Attributes
|
19
|
+
# * +url+ [String] the HLS source string
|
20
|
+
# * +path+ [String] base path of all downloaded content
|
21
|
+
# * +logfile+ [String] log file to save the logs (optional)
|
22
|
+
# * +loglevel+ log level, could be Logger::FATAL, Logger::ERROR, Logger::WARN, Logger::INFO, Logger::DEBUG (optional)
|
22
23
|
def initialize(url, path, logfile = nil, loglevel = Logger::INFO)
|
23
24
|
|
24
25
|
@sourceurl = URI(url)
|