class Scraper::DateExtractor

Defined in:

scraper/date_extractor.cr

Constant Summary

EXTRACTION_METHODS = [CitationOnlineMatcher, MetaArticlePublishedMatcher, MetaItemPropDatePublishedMatcher, GithubDateExtractorMethod, LdJsonGraphSchemaMethod, RegexMatcher]
Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : String) #

[View source]

Instance Method Detail

def date : Time #

[View source]
def date=(date : Time) #

[View source]
def fetch #

todo prevent infinite redirects from ending up in a stackoverflow


[View source]
def fetch_and_parse #

[View source]
def headers #

[View source]
def tls_config #

[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]