Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Ruby Mechanize、Nokogiri 和 Net::HTTP
我使用 Net HTTP 进行 HTTP 请求并获取响应 uri URI http www example com http Net HTTP start uri host uri port proxy host proxy port re
ruby
nokogiri
mechanize
eventmachine
nethttp
Python/Mechanize 中的 Http 错误 405/500(使用 mechanize 自动登录一个网站)
这是我想使用 python mechanize 自动登录的网站地址 http www autohome com cn tools hometoplogin html 这是我的代码 br Browser login url http www
python
http
authentication
mechanize
如果 socket.setdefaulttimeout() 不起作用,我该怎么办?
我正在编写一个脚本 多线程 来从网站检索内容 并且该网站不是很稳定 所以时不时地会出现挂起的 http 请求 甚至无法超时socket setdefaulttimeout 由于我无法控制该网站 我唯一能做的就是改进我的代码 但我现在没有想法
python
http
urllib2
mechanize
urllib
Python Mechanize 选择表单 FormNotFoundError
我想选择带有机械化的形式 这是我的代码 br mechanize Browser self br open url br select form name login form 表格的代码
python
mechanize
mechanizepython
Python 和 mechanize 登录脚本
各位程序员大家好 我正在尝试编写一个脚本来使用 python 和 mechanize 模块登录我的大学 食物平衡 页面 这是我尝试登录的页面 http www wcu edu 11407 asp http www wcu edu 11407
python
mechanize
loginscript
pythonmemcached
使用 Python 请求选择表单
我想使用一个能够填写表单和处理重定向的 python 库 主页 页面有一个表单 username user password pass 重定向 页面将我带到一个新页面 新 页面有一个指向最终页面的链接 最终 页面有一个表单 Field 1
python
mechanize
pythonrequests
如何测试使用 mechanize 的 ruby 应用程序
我编写了一个使用 Mechanize 遍历站点的小程序 我想为它编写测试 但不希望它在每次运行测试时都实际登录到该网站 我想模拟互联网 以便当它访问某个站点时 它只是返回存储的结果 这是一个小例子 假设我的代码的目的是从谷歌主页上提取链接
ruby
Testing
mocking
mechanize
Python 中哪个最好:urllib2、PycURL 还是 mechanize?
好的 我需要使用 Python 下载一些网页 并对我的选项进行了快速调查 Python 中包含 urllib http docs python org library urllib html 在我看来我应该使用 urllib2 代替 url
python
urllib2
mechanize
pycurl
BeautifulSoup 未提取所有 html
我们正在尝试从 Forever 21 网站的此页面获取产品网址 由于某种原因 BeautifulSoup 没有获取类为 item pic 的元素 即使它们位于站点 html 中 我们尝试过使用 requests mechanize sele
python
beautifulsoup
mechanize
urllib
在 mechanize 中禁用 ssl 证书验证
我是 python 新手 我试图使用 mechanize 访问网站 br mechanize Browser r br open https 172 22 2 2 这给了我以下错误 Traceback most recent call la
python
SSL
mechanize
在 Python 中使用 Mechanize 时出现解析错误
我尝试在 Dell Kace 票务页面上选择一个表单 但收到解析错误 我正在用 python 编程并一直在使用 mechanize 我能够成功登录该网站 我读到你也许可以使用像 Beautiful soup 这样的 html 清理器来解决这
python
Forms
mechanize
parseerror
我应该使用什么纯 Python 库来抓取网站?
我目前有一些 Ruby 代码用于抓取一些网站 我使用 Ruby 是因为当时我在一个网站上使用 Ruby on Rails 这很有意义 现在我正尝试将其移植到 Google App Engine 但一直陷入困境 我已将 Python Mech
python
googleappengine
xpath
beautifulsoup
mechanize
使用 python mechanize 通过 NTLM 身份验证登录页面
我想使用 mechanize 登录页面并检索一些信息 但是我尝试验证它只是失败并显示错误代码HTTP 401 如下所示 r br open http intra File bui e mechanize py line 203 in ope
python
authentication
mechanize
寻找相当于机械化功能的请求
我有兴趣看看 Requests 是否可以处理我主要在 Mechanize 中执行的一些任务 Mechanize 可以轻松处理填写表单和提交表单 但我很难在 Requests 中尝试做同样的事情 例如 import mechanize br
python
mechanize
pythonrequests
使用 Python 的 Mechanize 模块验证 br.submit()
只是尝试使用 mechanize 登录网站 当我打印 br form 时 我可以看到我的凭据输入到我的表单中 但我不知道如何正确提交表格 我使用 br submit 并尝试通过打印 br title 来验证它是否已进入下一页 但出现的标题是
python27
mechanize
mechanizepython
如何修复 Python Mechanize 中的编码?
这是示例代码 from mechanize import Browser br Browser page br open http hunters tclans ru news php readmore 2 br form br forms
python
encoding
mechanize
导入错误:导入 mechanize 时没有名为“_version”的模块
我通过 pip 安装 mechanize 并在导入模块时收到错误 python Python 3 5 2 default Jun 28 2016 08 46 01 GCC 6 1 1 20160602 on linux Type help
python
python3x
import
mechanize
如何在 Ruby 中使用 Mechanize 或 Faraday 发送 JSON 表单数据
我想从使用 JSON 数据设置自定义搜索参数的网站检索数据 这些参数似乎是通过 AJAX 请求的 传输的数据显示在 Firebug 中的 XHR gt Request Payload 下 filters action post filter
rubyonrails
ruby
json
mechanize
faraday
机械化 br.click_link() 和 br.follow_link() 之间的区别
我正在使用 mechanize 来自动化一些表单提交 为此 我需要转到某个网站的主页 单击包含特定文本的链接 该链接会将我重定向到另一个页面并在新页面中填写表格 我尝试使用 response br follow link text rege
python
Forms
mechanize
«
1
2
3
4
5
»