module PostsDownloader::Tipeee

Defined in:

posts-downloader/providers/tipeee.cr
posts-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

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 #

[View source]
def self.extract_posts(author : String, auth_data : AuthData, lang : String = TIPEEE_DEFAULT_LANG, posts_id : Set(String) | Nil = nil) : Set(Post) #

[View source]
def self.get_news_page(author : String, page_number : Int64, access_token : String, headers : HTTP::Headers, news_quantity : Int64 = 10) : News #

[View source]
def self.get_specific_news_item(author : String, news_id : String, access_token : String, headers : HTTP::Headers) : NewsItem #

[View source]
def self.tipeee_from_host(lang : String) : String #

[View source]