Documentation
¶
Overview ¶
This package scrapes the HTML of xvideos.com and gives you information you can use in your go programs
Refer to http://github.com/pdevty/xvideos for more infomation
package main
import (
"fmt"
"github.com/pdevty/xvideos"
"log"
)
func main() {
// url to be set xvideos list page
xv, err := xvideos.Get("http://jp.xvideos.com/c/asian_woman-32/")
if err != nil {
log.Fatal(err)
}
for _, v := range xv {
fmt.Println(v.Id, v.Url, v.Duration, v.Rating, v.Thumbnail, v.Title, v.Tags)
}
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.