• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

douyin web signature

douyin web signature

此项目仅用于科研学习,请勿用于商业用途否则造成的后果与作者无关
This project is only used for research and study, please do not use it for commercial purposes, otherwise the consequences will not be related to the author.

usage

install dependencies

npm install

run service

node server.js

python 调用示例

使用抖音app分享用户的主页链接,获得sec_uid即可下载该用户所用视频
比如链接:

https://www.iesdouyin.com/share/user/4199772083203972?with_sec_did=1&u_code=15b9142gf&sec_uid=MS4wLjABAAAACV5Em110SiusElwKlIpUd-MRSi8rBYyg0NfpPrqZmykHY8wLPQ8O4pv3wPL6A-oz&did=MS4wLjABAAAA0hyr7tsAlRz53naAmyXnRMG7BoOdR7Qpq4QaNQhQbkj818m3LI5hocFqxMINgJX2&iid=MS4wLjABAAAAWegZGjqsb5FToq_3kcQazow83KPq2lkouu-JE1QPKxgc_8-Hu0yudigPVKsqRWl_&timestamp=1618028058&utm_source=copy&utm_campaign=client_share&utm_medium=android&share_app_name=douyin

sec_uid为MS4wLjABAAAACV5Em110SiusElwKlIpUd-MRSi8rBYyg0NfpPrqZmykHY8wLPQ8O4pv3wPL6A-oz

python 调用示例

others

  1. 使用sec_uid代替uid来区分用户,需要得到用户的sec_id以获取该用户的所有作品
  2. uid useragent sec_uidsignature并没有绑定
  3. 这个版本校验较弱可能只是过渡版本,可能很快失效

浏览器环境补充

canvas相关环境补充