Skip to content

Douyin/抖音/tiktok signature algorithm for as/cp/mas parameters

Notifications You must be signed in to change notification settings

oabu/Sign-DouYin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Switch to Tiktik/Musical.ly

Prior Declaration

  • This demo if for data analysis purposes only, not available for any other purpose
  • If the project infringes on your company's rights, I will delete it immediately.
  • Demos can only be requested for limited times.
  • Any questions, pls email odsajkadew@yandex.com

Gen as/cp/mas parameters

sign

curl -X "POST" "http://jokeai.zongcaihao.com/douyin/v292/sign" \
     -H 'Content-Type: application/json' \
     -d $'{"url": "https://aweme.snssdk.com/aweme/v1/feed/?type=0&max_cursor=0&min_cursor=-1&count=6&volume=0.3333333333333333&pull_type=2&need_relieve_aweme=0&filter_warn=0&is_cold_start=0&js_sdk_version=1.2.2&app_type=normal&manifest_version_code=321&_rticket=1541682949911&ac=wifi&device_id=59121099964&iid=50416179430&os_version=8.1.0&channel=gray_3306&version_code=330&device_type=ONEPLUS%20A5000&language=zh&vid=C2DD3A72-18E8-490e-B58A-86AD20BB8035&resolution=1080*1920&openudid=27b34f50ff0ba8e26c5747b59bd6d160fbdff384&update_version_code=3216&app_name=aweme&version_name=3.3.0&os_api=27&device_brand=OnePlus&ssmix=a&device_platform=android&dpi=420&aid=1128"}'

call douyin

curl -H 'User-Agent: okhttp/3.8.2' \
     -H 'Cookie:install_id=50416179430' \
     "https://aweme.snssdk.com/aweme/v1/feed/?type=0&max_cursor=0&min_cursor=-1&count=6&volume=0.3333333333333333&pull_type=2&need_relieve_aweme=0&filter_warn=0&is_cold_start=0&js_sdk_version=1.2.2&app_type=normal&manifest_version_code=321&_rticket=1541682949911&ac=wifi&device_id=59121099964&iid=50416179430&os_version=8.1.0&channel=gray_3306&version_code=330&device_type=ONEPLUS%20A5000&language=zh&vid=C2DD3A72-18E8-490e-B58A-86AD20BB8035&resolution=1080*1920&openudid=27b34f50ff0ba8e26c5747b59bd6d160fbdff384&update_version_code=3216&app_name=aweme&version_name=3.3.0&os_api=27&device_brand=OnePlus&ssmix=a&device_platform=android&dpi=420&aid=1128&ts=1552724819&as=a1456be8c3253cc34c4355&cp=b855cc5534cd8f3ee1tzbd&mas=01c2230fa122e5fc98fe75d2c02bfd6075acaccc2cc62cccc6c6cc"

Gen device info(install_id,device_id)

https://jokeai.zongcaihao.com/douyin/v292/device

API demos:

New algorithm can be used with more new APIs...

  • Home feeds

https://jokeai.zongcaihao.com/douyin/v292/feed

  • someone's videos

https://jokeai.zongcaihao.com/douyin/v292/aweme/post?user_id=83774364341&max_cursor=0&count=20

  • someone's likes

https://jokeai.zongcaihao.com/douyin/v292/aweme/favorite?user_id=83774364341&max_cursor=0&count=20

  • someone's info

https://jokeai.zongcaihao.com/douyin/v292/user?user_id=83774364341

  • someone's followings

https://jokeai.zongcaihao.com/douyin/v292/user/following/list?user_id=83774364341&max_time=1541202996

  • someone's followers

https://jokeai.zongcaihao.com/douyin/v292/user/follower/list?user_id=83774364341&max_time=1541473941

  • video's coments

https://jokeai.zongcaihao.com/douyin/v292/comment/list?aweme_id=6615981222587796743&cursor=0

  • hot topics

https://jokeai.zongcaihao.com/douyin/v292/category/list?cursor=0

  • topics list

https://jokeai.zongcaihao.com/douyin/v292/challenge/aweme?ch_id=1617915729448973&cursor=0

  • topic info

https://jokeai.zongcaihao.com/douyin/v292/challenge/detail?ch_id=1617915729448973

  • search users

https://jokeai.zongcaihao.com/douyin/v292/search/discover?keyword=lucas&cursor=0

  • search musics

https://jokeai.zongcaihao.com/douyin/v292/search/music?keyword=lucas&cursor=0

  • search topics

https://jokeai.zongcaihao.com/douyin/v292/search/challenge?keyword=lucas&cursor=0

  • search videos

https://jokeai.zongcaihao.com/douyin/v292/search/item?keyword=lucas&cursor=0

  • goods's list

https://jokeai.zongcaihao.com/douyin/v292/user/promotions?user_id=93712507975&cursor=0

  • live videos list

https://jokeai.zongcaihao.com/douyin/v292/room/feed?cursor=0

  • hot topics

https://jokeai.zongcaihao.com/douyin/v292/hotsearch/word

  • hot videos

https://jokeai.zongcaihao.com/douyin/v292/hotsearch/aweme

  • hot energy

https://jokeai.zongcaihao.com/douyin/v292/hotsearch/energy

About

Douyin/抖音/tiktok signature algorithm for as/cp/mas parameters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%