GithubHelp home page GithubHelp logo

xhs_crawler's Introduction

小红书爬虫

文件说明

——————————————————————

爬虫机

xhsuser.py

负责爬指定用户的相关信息 数据从服务中获得

feed.py

feed流获得用户列表增加到云端数据

proxy.py

获得代理服务器ip

webapi.py

云端接口

——————————————————————

服务器

webapp.py

云端的服务器,提供4个接口,利用Web.py框架实现

  1. 添加用户
  2. 更新用户
  3. 获得需要爬的用户
  4. 获得一个符合投放条件的用户

db.py

数据库服务 SQLite

list.html

前端展示页面

db

db数据库,SQLite

表结构SQL: CREATE TABLE USERS ( id TEXT, name TEXT, fans INTEGER, p1 INTEGER, p2 INTEGER, p3 INTEGER, p4 INTEGER, ND INTEGER , "desc" TEXT);

xhs_crawler's People

Contributors

willwill85 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.