#Python爬虫

Hongyu Yin

I'm a postgraduate student studying at CUFE, major in Statistics, supervised by Dr.Feng Li. This is my personal site. I'm also interested in Data Mining, Machine Learning, etc. Please see "about" to know more about me.

Email: hyhyin@163.com
Address: Beijing, China

selenium是用于浏览器测试的自动化工具,可以直接运行在浏览器中,模拟用户的各种操作。

在爬虫领域的应用,主要就是模拟人的操作,打开浏览器,获取网页源码。获得网页源码之后就可以再利用BeautifulSoup、XPath等去解析和提取我们需要的数据了。

本文主要介绍了Python Selenium的一些基础操作,如打开浏览器、打开网页、网页切换、获取网页源码等操作。

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×