An open API service indexing awesome lists of open source software.

https://github.com/peteryangs/sitecopy2

扒网站
https://github.com/peteryangs/sitecopy2

Last synced: 10 months ago
JSON representation

扒网站

Awesome Lists containing this project

README

          

# site-copy2

仿站工具

## 安装
```shell
go get github.com/PeterYangs/siteCopy2
```

## 快速开始
```go
package main

import (
"context"
"fmt"
"github.com/PeterYangs/siteCopy2"
)

func main() {

c := siteCopy2.NewCopy(context.Background())

c.Url("https://www.diyiyou.com/", "index.html")
c.Url("https://www.diyiyou.com/newgame/", "news.html")

err := c.Zip("aa.zip")

if err != nil {

fmt.Println(err)

return
}
}
```