Giter VIP home page Giter VIP logo

requests_qq_essence's Introduction

QQ群精华消息爬虫 requests_qq_essence

  • 必须使用Python3,不兼容Python2
  • 基于 Requests 库与 lxml 库 进行开发必须使用pip进行安装

Install:

> pip install requests
> pip install lxml

Reveal:

效果图

Usage:

1、将群号放入第30行
2、将抓到的 cookie 放入到第40行 cookie 中即可。

打开 历史精华 时抓包


如图所示,在配置好的情况下 使用以下方式即可获得精华消息

python essence.py [条数]

为了方便调用所以直接把图片的源地址进行输出 只需要判断下标0-9是否为"https://"

如果精华消息是文字图片的混合模式,图文顺序会保持一致

Nodejs

const execSync = require('child_process').execSync;
out = execSync('python3 ./essence.py '+1)).toString()

connect

Discord:Time#4381
QQ: 583416178

requests_qq_essence's People

Contributors

user-time avatar

Stargazers

 avatar  avatar Circle Crop avatar

Watchers

Circle Crop avatar  avatar

Forkers

circlecrop

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.