xvideos: github.com/pdevty/xvideos Index | Files

package xvideos

import "github.com/pdevty/xvideos"

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 (

func main() {
  // url to be set xvideos list page
  xv, err := xvideos.Get("http://jp.xvideos.com/c/asian_woman-32/")
  if err != nil {
  for _, v := range xv {
    fmt.Println(v.Id, v.Url, v.Duration, v.Rating, v.Thumbnail, v.Title, v.Tags)


Package Files


type Xvideo Uses

type Xvideo struct {
    Id        string
    Title     string
    Thumbnail string
    Url       string
    Duration  string
    Rating    string
    Tags      []string

get func return xvideo data struct

func Get Uses

func Get(rawurl string) (xvideos []Xvideo, err error)

get xvideos information. url to be set xvideos list page

Package xvideos imports 5 packages (graph). Updated 2018-04-21. Refresh now. Tools for package owners.