Comments (7)
json需要querystring之sign=tiebaclient!!!
https://github.com/n0099/open-tbm/blob/v1/client_tester.php
protobuf需要requestheader之x_bd_data_type: protobuf
https://github.com/n0099/open-tbm/blob/0f3ab2d4bae1a4c5d0f569e54e83cbb0a171a71d/c%23/crawler/src/Tieba/ClientRequester.cs#L127 以及是写到Content-Disposition: form-data; name="data"; filename="file"
且boundary
不能套""
from aiotieba.
https://github.com/Starry-OvO/aiotieba/blob/master/README.md
https://aiotieba.cc/tutorial/start/
from aiotieba.
调客户端api啊
from aiotieba.
想问一下调客户端api的请求体格式是什么, 我想在go中写这一部分, 但是怎么都组装不起来. 返回值没有数据
{"logid":"1474405617","ctime":"0","server_time":0,"time":1707128674,"error_msg":"成功","error_code":0}
from aiotieba.
您要调什么api?走protobuf还是json?
from aiotieba.
可以走json吗? 我试着调 get_comments 里的 URL('http://tiebac.baidu.com/c/f/pb/floor?cmd=302002') 接口, 然后直接将proto序列化的查询结果 b'\n\x1e\x08\xdf\xb2\xda\xd3\x1e\x10\x95\xd5\xc0\xa8\xa2\x04 \x01J\r\x08\x02\x12\t12.54.1.1'
写到request的body里请求, 得不到结果
from aiotieba.
非常感谢! 可以获取到数据了!
from aiotieba.
Related Issues (20)
- 封禁功能失效 HOT 2
- 有没有群 HOT 3
- 可否将所有数据类型的基类换为pydantic库的basemodel HOT 6
- 楼中楼回复对象信息 HOT 3
- 异步爬取posts时出现Connector is closed HOT 2
- 请问这个可以用来做什么? HOT 3
- 添加在代码中给client传入配置的参数 HOT 12
- 部分帖子会出现某一页请求超出范围的问题,但实际上后面还有楼层 HOT 5
- 我想请问一下这个库是使用什么方式得到数据的 HOT 1
- 某知名kotlin jetpack compose ui第三方去广告贴吧客户端`TiebaLite`疑似被百度橄榄 HOT 5
- 我想请问一下有没有获得阅读量的功能 HOT 3
- `get_self_posts` 是只能抓自己的回复吗? HOT 14
- 如何回复图片呢? HOT 1
- 跟着入门教程运行例程的时候出现缺模块的错误 HOT 2
- 获得一个贴吧中各个分区的内容 HOT 5
- [WARN] Unknown fragment type. type=40 proto=type: 40 HOT 9
- [WARN] [get_bawu_postlogs] (302, 'Found'). args=('贴吧名',) kwargs={} HOT 2
- [WARN] [get_bawu_postlogs] 'NoneType' object has no attribute 'find_all'. args=('贴吧名',) kwargs={'search_value': '用户名', 'search_type': 0, 'pn': 1} HOT 5
- 如何制定日期 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiotieba.