class

Muse::Dl::Fetch

Inherits Reference / Object

Constants

DOWNLOAD_TIMEOUT_SECS = 60
HEADERS = {"User-Agent" => USER_AGENT, "Accept" => "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", "Accept-Language" => "en-US,en;q=0.5", "Connection" => "keep-alive"}
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"

Class methods

article_file_name(id : String, tmp_path : String)
Source
chapter_file_name(id : String, tmp_path : String)
Source
cleanup(tmp_path : String, id : String)
Source
cleanup_articles(tmp_path : String, id : String)
Source
get_info(url : String)
Source
save_article(tmp_path : String, article_id : String, cookie : String | Nil = nil, article_title = nil, strip_first_page = true)
Source