All Projects → henrylee2cn → Surfer

henrylee2cn / Surfer

Licence: apache-2.0
Package surfer is a high level concurrency http client. It has surf andphantom download engines, highly simulated browser behavior, the function of analog login and so on.

Programming Languages

go
31211 projects - #10 most used programming language

Labels

Projects that are alternatives of or similar to Surfer

Rabbitmq Erlang Client
Erlang client for RabbitMQ
Stars: ✭ 184 (-9.8%)
Mutual labels:  client
Qtswissarmyknife
QSAK (Qt Swiss Army Knife) is a multi-functional, cross-platform debugging tool based on Qt.
Stars: ✭ 196 (-3.92%)
Mutual labels:  client
Beanstalk
Minimalistic PHP client for beanstalkd without any dependencies
Stars: ✭ 199 (-2.45%)
Mutual labels:  client
Redis4cats
🔖 Redis client built on top of Cats Effect, Fs2 and Lettuce
Stars: ✭ 189 (-7.35%)
Mutual labels:  client
Graphql Typed Client
A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
Stars: ✭ 194 (-4.9%)
Mutual labels:  client
Atlasr
Atlasr is a truly open-source and free map browser.
Stars: ✭ 196 (-3.92%)
Mutual labels:  client
Imscp
i-MSCP Main Repository
Stars: ✭ 184 (-9.8%)
Mutual labels:  client
Jenkins Rest
Java client, built on top of jclouds, for working with Jenkins REST API
Stars: ✭ 201 (-1.47%)
Mutual labels:  client
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-5.39%)
Mutual labels:  client
Zserver4d
ZServer4D 是一套从商业项目剥离而出的云服务器中间件,可以承载百万级的分布式负载服务,并且支持IoT及内网穿透
Stars: ✭ 199 (-2.45%)
Mutual labels:  client
Rikka
A simple image share system in go.
Stars: ✭ 189 (-7.35%)
Mutual labels:  client
Stripe
Typed .NET clients for stripe.com REST APIs
Stars: ✭ 193 (-5.39%)
Mutual labels:  client
Httpkit
⚡️ High-level, High-performance HTTP(S) Clients/Servers in Reason/OCaml
Stars: ✭ 198 (-2.94%)
Mutual labels:  client
Smudge
Control the Spotify app from within Emacs.
Stars: ✭ 186 (-8.82%)
Mutual labels:  client
Kubeletctl
A client for kubelet
Stars: ✭ 197 (-3.43%)
Mutual labels:  client
Weechat
The extensible chat client.
Stars: ✭ 2,349 (+1051.47%)
Mutual labels:  client
Client
Knative developer experience, docs, reference Knative CLI implementation
Stars: ✭ 193 (-5.39%)
Mutual labels:  client
Oksocket
An blocking socket client for Android applications.
Stars: ✭ 2,359 (+1056.37%)
Mutual labels:  client
Socks
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
Stars: ✭ 200 (-1.96%)
Mutual labels:  client
Franz Go
franz-go contains a high performance, pure Go library for interacting with Kafka from 0.8.0 through 2.7.0+. Producing, consuming, transacting, administrating, etc.
Stars: ✭ 199 (-2.45%)
Mutual labels:  client

Surfer GitHub release report card github issues github closed issues GoDoc view Go大数据

Package surfer is a high level concurrency http client. It has surf andphantom download engines, highly simulated browser behavior, the function of analog login and so on.

简体中文

Features

  • Both surf and phantomjs engines are supported
  • Support random User-Agent
  • Support cache cookie
  • Support http/https

Usage

package main

import (
    "github.com/henrylee2cn/surfer"
    "io/ioutil"
    "log"
)

func main() {
    // Use surf engine
    resp, err := surfer.Download(&surfer.Request{
        Url: "http://github.com/henrylee2cn/surfer",
    })
    if err != nil {
        log.Fatal(err)
    }
    b, err := ioutil.ReadAll(resp.Body)
    log.Println(string(b), err)

    // Use phantomjs engine
    surfer.SetPhantomJsFilePath("Path to phantomjs.exe")
    resp, err = surfer.Download(&surfer.Request{
        Url:          "http://github.com/henrylee2cn",
        DownloaderID: 1,
    })
    if err != nil {
        log.Fatal(err)
    }
    b, err = ioutil.ReadAll(resp.Body)
    log.Println(string(b), err)

    resp.Body.Close()
    surfer.DestroyJsFiles()
}

Full example

License

Surfer is under Apache v2 License. See the LICENSE file for the full license text.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].