- 今日头条网页版
- 抖音网页版
- 大众点评字体
- 汽车之家
- 猿人学竞赛题
- 百度指数
- 真气网
- 邦瑞科技滑动验证
- 雷速体育
- 马蜂窝(加速乐)
- 信用**陕西
- 晋金所
- 大连产权交易所
- BOSS直聘(不完全,生成的cookie有无效的)
- parse_ttf 借助百度ORC 自动化解析ttf文件中的字体
今日头条网页版&抖音网页版&大众点评字体&汽车之家&百度指数&真气网&邦瑞科技滑块&雷速体育&马蜂窝&BOSS直聘 逆向学习
试用了下头条网页版,生成signature,爬取指定用户的feed列表
输入:https://www.toutiao.com/c/user/token/MS4wLjABAAAAP09LrX61xFpIWrgGdBDqkp-5om9Lans_kuIZ_ipAGRE/?source=feed&log_from=eaf124025aa9e_1651888131770
生成的signature: _02B4Z6wo00101Bz3DRAAAIDCpOVyFIga6AQc3wmAAGVOb8
import requests
headers = {
"user-agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36",
'accept': 'application/json, text/plain, */*',
'referer': 'https://www.toutiao.com/?wid=1641028484634',
}
uid = 'MS4wLjABAAAAP09LrX61xFpIWrgGdBDqkp-5om9Lans_kuIZ_ipAGRE'
sign = '_02B4Z6wo00101Bz3DRAAAIDCpOVyFIga6AQc3wmAAGVOb8'
url = f'https://www.toutiao.com/api/pc/list/user/feed?category=pc_profile_article&token={uid}&max_behot_time=0&aid=24&app_name=toutiao_web&_signature={sign}'
response = requests.get(url,headers=headers)
print(response.url)
print(response.json())
结果打印
https://www.toutiao.com/api/pc/list/user/feed?category=pc_profile_article&token=MS4wLjABAAAAP09LrX61xFpIWrgGdBDqkp-5om9Lans_kuIZ_ipAGRE&max_behot_time=0&aid=24&app_name=toutiao_web&_signature=_02B4Z6wo00101Bz3DRAAAIDCpOVyFIga6AQc3wmAAGVOb8
{'data': [], 'decision': '{"code":"10000","from":"","type":"verify","version":"","region":"cn","subtype":"3d","detail":"k87OAt17RgTAQ7Gl7Z4DLmcP8UURvubqqf0M*SsHcDHF29s0jJwVleRhMU2ukEC7*FBoO7nCJ0rrc17JWBp55kpbrqUmS3C*T04Y*MB5dIjaJlBYWFj5bCJUChb6rc2e7tvqsIRD69Sw8r0-ujhZYK*SBnf7hc9nDBmTSiYXxaSgXcwOvu*hGfFGt0y-9HAJ9rn6l9T2sGgxkFPgFNP1Dkf98JdH6qhfpAw7R*fmFN*msRrQPBXxu3loRxBxxhXrxU40QljhRfbC*hMr36vaqEmkU*6yo-rYpoDAKgXKmW5s9v*9krQBYilpzUt8L27LXuHaEkYgBzKtdKyIxveczg1MZSsb73AZgvX5PGs49st9hPmADukgFW2v1GzwZCVd2WIFJWOtDl9uEC69AGmDV2vU55km1jtdqALvXsLXpN3T3Q..","verify_event":"","fp":"verify_7675712d2130cc97b00d5c9ebc5664ca","server_sdk_env":"{\\"idc\\":\\"lf\\",\\"region\\":\\"CN\\",\\"server_type\\":\\"business\\"}"}', 'has_more': False, 'message': 'success'}
是否哪里需要改造呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.