Giter Site home page Giter Site logo

baitongda / scrapydemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fengxiaochuang/scrapydemo

0.0 2.0 0.0 714 KB

ScrapyDemo : Redis MySQLdb logging IngoreHttpRequestMiddleware UserAgentMiddleware HttpProxyMiddleware rules

Python 15.53% CSS 1.03% JavaScript 68.25% HTML 15.18%

scrapydemo's Introduction

ScrapyDemo

ScrapyDemo : Redis MySQLdb logging IngoreHttpRequestMiddleware UserAgentMiddleware HttpProxyMiddleware rules

项目原名叫:webspider,如果不能使用请下载项目后修改为webspider再运行.

该项目是2015年底完成的,当时创建了github代码仓库忘了上传了.现在上传上来.只提供代码供大家参考,不保证代码正常运行.

项目使用了以下库,不完整,后续的有些忘了添加进来了.

  • Scrapy [ 如果提示没有lxml,就安装lxml,一般来说会自动安装lxml的 ]
  • Redis reids 的python操作库
  • Sqlalchemy orm 数据操作
  • Pymssql mssql的python操作库
  • Whoosh 全文搜索
  • Jieba 结巴分词 全文搜索中用到
  • Flask python 的web框架,提供搜索接口的时候使用
  • Qiniu 当初想用七牛云存储的保存下载的图片
  • Requests python 发送request的库

项目说明

项目附带代理采集,代理使用,爬虫,保存数据库,结巴分词,whoosh索引,flask开放web搜索接口,qiniu自动图片下载.

注:由于项目在实际交接的过程中采用了mssql,但是用Sqlalchemy过渡,所以如果想用mysql的话,只需要少量的代码改动即可实现,我还是主张代码仅供参考,毕竟时间太长了,我也不想修改了.

scrapydemo's People

Contributors

fengxiaochuang avatar

Watchers

James Cloos avatar baitongda avatar

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.