Python collection Step 1: python collection
The last time I asked to create a beauty site at http://www.m4493.cn/, I used pythonto collect data.
Next we will start to collect data, using pythn to collect the first step.
Install python
This is simple. You can download python 2 and 7.3 From the python official website.
(Find time to release the installation process)
Then install pip
Python ../window/get-pip.py here you need to download pip. py
Install the module as follows:
Pip install grab -- timeout 600
Pip install requests -- timeout 600
Pip install lxml -- timeout 600
Pip install selenium -- timeout 600
Pip install bs4 -- timeout 600
Pip install pycurl -- timeout 600
Pip install redis -- timeout 600
Pip install pycurl -- timeout 600
Pip install html5lib -- timeout 600
By the way, remember to install the python development tool. I am using JetBrains PyCharm 2017.1.4 here. This is a paid tool. If you have no money to crack it, please :)
Share with you :--)