GithubHelp home page GithubHelp logo

qbaoma / python_toutiaovideo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fourbrother/python_toutiaovideo

0.0 1.0 0.0 2.88 MB

python脚本爬取今日头条视频数据

Batchfile 1.78% Python 98.22%

python_toutiaovideo's Introduction

python_toutiaovideo

##python脚本爬取今日头条视频数据

##1、配置好python命令环境变量
##2、直接运行run.bat即可
##3、如果想修改爬取视频页面链接,可以在website.py中getHtml函数处修改即可



#今日头条视频链接构造流程 ##1、将/video/urls/v/1/toutiao/mp4/{videoid}?r={Math.random()},进行crc32加密。 ##2、将上面得到的加密值拼接到上面的链接中即可,最终的链接形式是:http://i.snssdk.com/video/urls/v/1/toutiao/mp4/{videoid}?r={Math.random()}&s={crc32值} ##3、访问这个链接得到一个json数据,需要解析video_list数组中的main_url值,然后用base64解码得到最终的原始视频链接。

Android版本视频下载器

#toutiaovideo.apk文件安装即可使用!

python_toutiaovideo's People

Contributors

jiangwei212 avatar fourbrother avatar

Watchers

 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.