Giter VIP home page Giter VIP logo

getwxvideo's Introduction

getwxvideo

获取公众号视频 用到了puppeteer,感觉很吊的无头浏览器,能做很多事儿。

用法 cnpm i

命令行

node index.js --url=https://mp.weixin.qq.com/s/MF3u8xVdj-C6IIn8eh4r4Q(你想抓的公众号链接)

终端打印 '下完啦' 后视频就下载完了,在同级目录,名字叫video.mp4,想要继续抓就把下载好mp4移走,或者在代码里自己改一下输出文件的名字,不冲突就行

时隔十个多月,工闲时间看了下代码,发现公众号视频已经换成了腾讯视频加了广告,我印象中以前就是个video标签。改了改逻辑,现在又能成功抓取了。 这要维护下去感觉是个大工程啊

getwxvideo's People

Contributors

alpacachen avatar

Watchers

James Cloos 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.