Mechanize

Mechanize 是一个 Ruby 库,可轻松实现自动 web 交互。「Mechanize is a ruby library that makes automated web interaction easy.」

  • 所有者: sparklemotion/mechanize
  • 平台: Linux,Mac,Windows
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Mechanize

Test suite

Description

The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, and can follow links and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history.

Dependencies

  • Ruby >= 2.6
  • Gems:
    • addressable
    • domain_name
    • http-cookie
    • mime-types
    • net-http-digest_auth
    • net-http-persistent
    • nokogiri
    • rubyntlm
    • webrick
    • webrobots

Support:

The bug tracker is available here:

Examples

If you are just starting, check out GUIDE.rdoc or EXAMPLES.rdoc.

Developers

Use bundler to install dependencies:

bundle install

Run all tests with:

bundle exec rake test

See also Mechanize::TestCase to read about the built-in testing infrastructure.

Authors

  • Eric Hodel
  • Akinori MUSHA
  • Aaron Patterson
  • Lee Jarvis
  • Mike Dalessio

Acknowledgments

This library was heavily influenced by its namesake in the Perl world. A big
thanks goes to Andy Lester, the author of the original Perl module WWW::Mechanize which is available here. Ruby Mechanize would not be around without you!

Thank you to Michael Neumann for starting the Ruby version. Thanks to everyone who's helped out in various ways. Finally, thank you to the people using this library!

License

This library is distributed under the MIT license. Please see LICENSE.txt.

主要指标

概览
名称与所有者sparklemotion/mechanize
主编程语言Ruby
编程语言Ruby (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2008-04-18 16:55:10
推送于2025-01-05 18:30:35
最后一次提交
发布数54
最新版本名称v2.14.0 (发布于 )
第一版名称REL_0.7.6 (发布于 2008-05-11 19:33:28)
用户参与
星数4.4k
关注者数84
派生数471
提交数1.6k
已启用问题?
问题数428
打开的问题数5
拉请求数155
打开的拉请求数0
关闭的拉请求数67
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?