In the previous series, we learned to use RABBITMQ. The company's celery was then shared, but looking intently, celery4.0 no longer supported windows. The company also gradually abandoned the service for many years celery project. Exactly, the company to find someone to come in new people also to give them training crawler. Next, we start from scratch, learning reptiles, the goal is to grasp the implementation of JS, anti-crawler This level, do general business crawler no problem. The next step is to look carefully.
Software Environment:
Python 3.6.3: Needless to say
Beautifulsoup4:pip install BEAUTIFULSOUP4 to parse HTML
REQUESTS2.18:PIP install requests used to request Web pages
Online, there are a lot of urllib,urllib2 and other gadgets, I one by one try. Finally, I believe this:
It is true.
Next, we'll use request to get the page ...
Python crawler Series (i): zero-based, installation environment