scrape

package
v0.0.0-...-4dd5a69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RDCUnmarshallPropertyMeta

func RDCUnmarshallPropertyMeta(in string) []int

This function is broken atm; should return an arry of ints with the Bed, Bath, Sqft & LotSize but does not do so

func Scrape

func Scrape()

func ScrapeRDC

func ScrapeRDC(url string)

func ScrapeRemax

func ScrapeRemax()

func ScrapeTrulia

func ScrapeTrulia(url string)

func TruliaUnmarshallBedBathSqft

func TruliaUnmarshallBedBathSqft(in string) []int

func UnformatPrice

func UnformatPrice(price string) string

Types

type Listing

type Listing struct {
	Status  string
	Address string
	Bed     int
	Bath    int
	Sqft    int
	LotSize int
	Price   int
}

type Listings

type Listings []Listing

func ScrapeRDCHelper

func ScrapeRDCHelper(url string) Listings

for states: 'Colorado' or 'California' for cities: 'city1-city2_state' i.e. 'Los-Angeles_CA' or 'Denver_CO'

func ScrapeTruliaHelper

func ScrapeTruliaHelper(url string) Listings

func ScrapeZillow

func ScrapeZillow(url string) Listings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL