MechanicalSoup

MechanicalSoup

MechanicalSoup

A Python library for automating interaction with websites.

AI 简介

MechanicalSoup 是一个用于自动化网站交互的 Python 库。它能够自动存储和发送 cookies,处理重定向,并支持链接跟踪和表单提交,但不支持 JavaScript。该库基于 Requests 和 BeautifulSoup 构建,提供了与 Mechanize 类似的 API,但兼容 Python 3。适合需要模拟用户行为进行网页抓取或测试的场景使用,如自动化数据收集、Web 应用程序的功能测试等。

Python
MIT License
4.9k
Stars
391
Forks
102
Watchers
31
Issues

Star 增长

今日0
近 7 天0
近 30 天+10
综合评分60.78
默认分支main