Beautiful Soup Tutorial

I. Introduction

    Web crawling process is generally as follows:

  • Choose to climb the URL (url)
  • Use this URL (urlopen, requests, etc.) to log on python
  • Pages to read information (read () out)
  • Information will be read into the BeautifulSoup
  • Select tag information using BeautifulSoup

    You can see, the page is not difficult to obtain, the difficulty is to filter the data, that is how to get the data they want. This article will take you to learn to use under the BeautifulSoup.

    BeautifulSoup official document: http://beautifulsoup.readthedocs.io/zh_CN/v4.4.0

Second, the installation

Here Insert Picture Description
Specifically referring to the execution command to FIG.

To be more ...

Published 25 original articles · won praise 7 · views 2162

Guess you like

Origin blog.csdn.net/qq_41506111/article/details/102696945