【发布时间】:2016-05-21 07:19:53
【问题描述】:
我是从"Automate the boring stuff with Python"学习的,在Chapter 11 - Web Scraping,它从四个模块开始:
“网络浏览器, 要求, 美丽的汤, 硒。”
我尝试了很多从 Pypi 下载这些模块,但我找不到它们。
请告诉我在哪里可以买到,谢谢!
【问题讨论】:
-
我猜“Webbroser”应该是标准库中的
webbrowser模块。其他的都应该在 Pypi 上可用,尽管你可能想要beautifulsoup4包而不是名为beautifulsoup的旧版本。尝试运行python -m pip install requests beautifulsoup4 selenium。我还在the online version of chapter you're reading 中看到每个模块在您使用之前都有安装说明。 -
感谢指正!我会记住的。 :)
标签: python-3.x module web-scraping