Python Web Scraping - 如何提交帖子信息

时间:2014-01-24 23:28:00

标签: python firebug

我找到了另一篇帖子,其中我无法找出答案的一部分:

a (presumably basic) web scraping of http://www.ssa.gov/cgi-bin/popularnames.cgi in urllib

最佳答案是,用户使用Firebug来查明通过检查网络活动传递的不同参数。

我无法弄清楚如何做到这一点或在哪里可以看到这一点。有什么建议吗?

1 个答案:

答案 0 :(得分:2)

  1. download并安装firebug
  2. 浏览到包含所需表单的页面
  3. 右键单击并选择Inspect Element with Firebug
  4. 转到网络面板,您可能需要激活它并在首次使用时重新加载页面
  5. 请参阅firebug net panel wiki page

    enter image description here

    在按表单提交

    之前,您通常会点击clear按钮