MCPcopy Create free account
hub / github.com/FloatTech/AnimeAPI / get

Function get

pixiv/pixiv.go:120–127  ·  view source on GitHub ↗

get 返回请求数据

(link string)

Source from the content-addressed store, hash-verified

118
119// get 返回请求数据
120func get(link string) ([]byte, error) {
121 return web.RequestDataWith(
122 web.NewPixivClient(), link, "GET",
123 "https://www.pixiv.net/",
124 "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0",
125 nil,
126 )
127}

Callers 2

WorksFunction · 0.85
RankMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected