Documentation ¶
Index ¶
- Variables
- func Enabled(by, elementName string) func(selenium.WebDriver) (bool, error)
- func ScrapeExpose(exposeID string) database.Expose
- func ScrapeExposeWithBrowser(exposeID string) database.Expose
- func ScrapeResultList(url string) []string
- func ScrapeResultListWithBrowser(url string) []string
- type Site
- type SiteItem
Constants ¶
This section is empty.
Variables ¶
View Source
var SitesImmo = Site{
Name: "immo",
ItemSelector: ".result-list__listing",
TitleSelector: ".criteriagroup h1",
AddressSelector: ".is24-expose-address",
RentSelector: ".is24qa-kaltmiete.is24-value",
SizeSelector: ".is24qa-flaeche",
RoomsSelector: ".is24qa-zi.is24-value",
}
Functions ¶
func ScrapeExpose ¶
ScrapeExpose scrapes a single exposes data
func ScrapeExposeWithBrowser ¶
func ScrapeResultList ¶
ScrapeResultList performs the initial scraping of the result list and returns
Types ¶
Click to show internal directories.
Click to hide internal directories.