class RssScrapers::BaseScraper

Direct Known Subclasses

Defined in:

scrapers/base.cr

Constant Summary

DEFAULT_TIMEOUT = 15

Default timeout for HTTP requests.

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, title : String, target : URI) #

[View source]

Instance Method Detail

def path : String #

[View source]
def run #

This is the main method for the scraper. Should return RSS::Channel instance.


[View source]
def target : URI #

[View source]
def title : String #

[View source]