module
PostsDownloader::Tipeee
Defined in:
posts-downloader/providers/tipeee.crposts-downloader/providers/tipeee/thread.cr
Constant Summary
-
LOG =
::Log.for(PostsDownloader::Tipeee) -
TIPEEE_API_HOST =
"api.#{TIPEEE_MAIN_HOST}" -
TIPEEE_DEFAULT_LANG =
"en" -
TIPEEE_MAIN_HOST =
"tipeee.com"
Class Method Summary
- .extract_auth_data(user_agent : String, browser : CookiesExtractor::Browser, browser_profile : String | Path | Nil = nil, lang : String = TIPEEE_DEFAULT_LANG) : AuthData
- .extract_posts(author : String, auth_data : AuthData, lang : String = TIPEEE_DEFAULT_LANG, posts_id : Set(String) | Nil = nil) : Set(Post)
- .get_news_page(author : String, page_number : Int64, access_token : String, headers : HTTP::Headers, news_quantity : Int64 = 10) : News
- .get_specific_news_item(author : String, news_id : String, access_token : String, headers : HTTP::Headers) : NewsItem
- .tipeee_from_host(lang : String) : String
Class Method Detail
def self.extract_auth_data(user_agent : String, browser : CookiesExtractor::Browser, browser_profile : String | Path | Nil = nil, lang : String = TIPEEE_DEFAULT_LANG) : AuthData
#
def self.extract_posts(author : String, auth_data : AuthData, lang : String = TIPEEE_DEFAULT_LANG, posts_id : Set(String) | Nil = nil) : Set(Post)
#
def self.get_news_page(author : String, page_number : Int64, access_token : String, headers : HTTP::Headers, news_quantity : Int64 = 10) : News
#