scrapbook/page
Types
pub opaque type PageEventCollection
pub opaque type PageEventItem
Functions
pub fn get_event_collection(
html: String,
) -> Result(PageEventCollection, List(PropertyError))
Get a collection of page event items from the given HTML string.
pub fn scrape_event_collection_from_url(
url: String,
) -> Result(PageEventCollection, ScrapeError)
Scrape the event items collection from the specified page events URL.
pub fn scrape_events_from_url(
url: String,
) -> Result(List(EventData), ScrapeError)
Scrape all possible event data for the event collection from the specified page events URL.
pub fn scrape_past_event_collection_from_name(
name: String,
) -> Result(PageEventCollection, ScrapeError)
Scrape the collection of past event items from the specified page name.
pub fn scrape_past_events_from_name(
name: String,
) -> Result(List(EventData), ScrapeError)
Scrape all possible event data for the past events collection from the specified page name.
pub fn scrape_upcoming_event_collection_from_name(
name: String,
) -> Result(PageEventCollection, ScrapeError)
Scrape the collection of upcoming event items from the specified page name.
pub fn scrape_upcoming_events_from_name(
name: String,
) -> Result(List(EventData), ScrapeError)
Scrape all possible event data for the upcoming events collection from the specified page name.