Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeEventID ¶
Types ¶
type JsonLdScraper ¶
type JsonLdScraper struct {
// contains filtered or unexported fields
}
func NewJsonLdScraper ¶
func NewJsonLdScraper() *JsonLdScraper
NewJsonLdScraper creates a new scraper that extracts event data via ld+json script tags from a facebook event page. NOTE that this is only included on the mobile pages for *upcoming* events. This special casing suggests that this is phased out and won't work long term.
func (JsonLdScraper) ScrapeEvent ¶
func (s JsonLdScraper) ScrapeEvent(id string) (*mobilizon.Event, error)
func (JsonLdScraper) ScrapeFeed ¶
func (s JsonLdScraper) ScrapeFeed(id string) ([]*mobilizon.Event, error)
Click to show internal directories.
Click to hide internal directories.