Git Product home page Git Product logo

go_spider's People

Contributors

cst05001 avatar hu17889 avatar sorawa avatar zlyang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go_spider's Issues

About PageItems type issue

The items of the PageItems are map[stirng]string, but many times we want to save some struct. It is not very convenient.

编译出错

go get github.com/PuerkitoBio/goquery出现需要 golang.org/x/net/html ,这个找不到了,怎么解决呀?

Allow caching of documents

It'd be great if you could use a local cache or enable a cache mode for development. When working on spiders, it's both considerate and smart to use local caches of documents to keep from pulling thousands of documents from the nets.

one question about downloader

hmm... Why U set connectByHttp(p *page.Page, req *request.Request) as unexported function in downloader package? And without this function ,how can I get the response after request?

Metadata on Page

It'd be great if there was a way to store some metadata on Page via AddUrl, this would make the page processor easier to implement as opposed to doing some switching on urls or other http parameters. I think just a map of string to string would be fine.

https请求验证证书返回失败

错误日志如下

2017/10/25 17:04:53 /go_proj/src/github.com/hu17889/go_spider/core/downloader/downloader_http.go:238: [ERROR] Get https://xxxxxxx: x509: certificate signed by unknown authority

在connectByHttp 函数中对client添加跳过证书验证,即可爬取https页面,没有找相关功能的函数设置

自动转码出问题

比如这个url https://www.repian110.com/film6/48765/48765.js

应该是gbk编码的文件,里面有一个圆点,httpdownloader自动转码后变成乱码,而iconv转gbk到utf8是正常的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.