Giter Site home page Giter Site logo

douyin_signature's Introduction

获取抖音数据一定要会计算_signature的值.网上的教程一大堆.我看了很多,也试着运行了.发现基本上都是不能用的,或者作者写的非常不清楚.自己研究了半天.写一个可以直接运行的供大家参考

准备工作

  • 找一个分享链接 在抖音,记录美好生活! http://v.douyin.com/5jDQWr/
  • 找到页面上的tac.下面有图示
  • 修改douyin.js 里面我有写注释的地方.替换为刚才找到的tac.
  • 运行代码,得到跟页面上显示的同一个_signature值
  • 异常错误忽略,不影响

run

# 需要安装jsdom   npm i jsdom
#node douyin.js uid
node douyin.js 1604937842691048

tac在哪里

image image

运行结果

image

补充说明

现在还有一个获取tac的动作,需要各位自己用后端获取后传过来执行.自己实现,这边就不写了

有问题也可以到我网站留言

www.zxdmrg.com

douyin_signature's People

Contributors

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