Giter Club home page Giter Club logo

company-crawler's Introduction

天眼查、企查查公司信息爬虫

使用说明

  1. 设置用户状态

    抓包工具抓包天眼查、企查查小程序,设置请求头用户鉴权信息,在各自目录的init.py文件中。可在此处配置随机UA,项目地址:fake_useragent

  2. 设置数据源

    MYSQL_CONFIG = {
        'develop': {
            'host': '192.168.1.103',
            'port': 3306,
            'db': 'enterprise',
            'username': 'root',
            'password': 'root@123'
        }
    }
    
  3. 执行db/data.sql生成数据结构

  4. 配置IP代理config/settings, 开启global proxy前请先自行部署ip代理池,项目地址:proxy_pool

    # 全局代理控制, 
    GLOBAL_PROXY = True
    PROXY_POOL_URL = "http://localhost:5010"
    
  5. 设置爬取关键字qichacha&tianyancha

    keys = ['Google'] # 设置爬取列表
    crawler.load_keys(keys)
    crawler.start()
    

Schedule List

功能 日期 状态 备注
鉴权Token提取 待完成
内置IP代理 待完成
防封策略 待完成
容器化运行 待完成


Please Kindly Note That

程序员技术交流tg群,欢迎大家加入!!!

内有技术交流!工作内推!远程工作!兼职、私活儿!!。

Telegram群链接:程序员社区https://t.me/+iZK2y8zMUiE0NDE1

群二维码:

company-crawler's People

Contributors

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