JOCHLSDownloader 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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)
|