Class: DeadList
- Inherits:
-
Object
- Object
- DeadList
- Defined in:
- lib/deadlist.rb
Overview
Main DeadList class.
Constant Summary collapse
- HOSTNAME =
'https://www.archive.org/'
Instance Method Summary collapse
-
#initialize ⇒ DeadList
constructor
A new instance of DeadList.
- #run ⇒ Object
Constructor Details
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/deadlist.rb', line 17 def run # Start a new CLI session # In future this could be abstracted to pass the show link vs all args, so a 'session' is started per show. session = CLI.new(@current_version, ARGV) # Scrape links and metadata for given show session.scrape_links # Create folder with show date and begin track downloads if format matches session.download_show end |