facebook

package
v0.0.0-...-047dcd9 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAccountInUrl

func ParseAccountInUrl(urlstr string) string

Types

type Index

type Index struct {
}

func GetIndex

func GetIndex(accountUrl, proxy string, since *time.Time) ([]Index, error)

type Post

type Post struct {
	Url          string
	Account      string
	CrawlTime    time.Time
	PublishTime  time.Time
	Content      string
	Forward      bool
	LikeCount    int
	CommentCount int
	ShareCount   int
	ImageUrls    []string
	VideoUrls    []string
}

func GetPost

func GetPost(postUrl, proxy string) (*Post, error)

func ParseHtml

func ParseHtml(html *string) (*Post, error)

Jump to

Keyboard shortcuts

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