gpt4 book ai didi

Python x-www-form-urlencoded POSTing : cannot find attributes

转载 作者:行者123 更新时间:2023-12-04 16:20:49 25 4
gpt4 key购买 nike

这个问题不太可能对 future 的访客有帮助;它只与一个小的地理区域、一个特定的时刻或一个非常狭窄的情况相关,通常不适用于互联网的全局受众。如需帮助使这个问题更广泛地适用,visit the help center .




9年前关闭。




最近我发现一个页面似乎无法通过 python 发出 POST 请求,因为我在源代码的任何地方都找不到某些属性。

所以基本上这里是手动 POST 到该页面时来自 Live Http Header 的内容:

Content-Type: application/x-www-form-urlencoded 

Content-Length: 616

form_key=VeBg0awGeGySaRYzBZc8jMwH0&secure_form_key=%21331352042042%7CsYH2EQfAK7nTIakC55PK8SQv78&blahblahblah

如您所见,我可以轻松找到 form_key但找不到 secure_form_key仔细检查源页面后的任何地方。它可能隐藏在哪里?我应该如何找到它?

最佳答案

如果您尝试与 tumblr 交互,为什么不使用官方 API 而不是尝试破解普通网站上的表单?

可从:http://code.google.com/p/python-tumblr/

关于Python x-www-form-urlencoded POSTing : cannot find attributes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13220114/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com