Code Monkey home page Code Monkey logo

Comments (7)

n0099 avatar n0099 commented on July 17, 2024 1

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.

dog194 avatar dog194 commented on July 17, 2024

https://github.com/Starry-OvO/aiotieba/blob/master/README.md

https://aiotieba.cc/tutorial/start/

from aiotieba.

Starry-OvO avatar Starry-OvO commented on July 17, 2024

调客户端api啊

from aiotieba.

libeng avatar libeng commented on July 17, 2024

想问一下调客户端api的请求体格式是什么, 我想在go中写这一部分, 但是怎么都组装不起来. 返回值没有数据
{"logid":"1474405617","ctime":"0","server_time":0,"time":1707128674,"error_msg":"成功","error_code":0}

from aiotieba.

n0099 avatar n0099 commented on July 17, 2024

您要调什么api?走protobuf还是json?

from aiotieba.

libeng avatar libeng commented on July 17, 2024

可以走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.

libeng avatar libeng commented on July 17, 2024

非常感谢! 可以获取到数据了!

from aiotieba.

Related Issues (20)

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.