Web scraping and parsing with Beautiful Soup & Python Introduction p.1

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=aIPqt-OdmS0



Duration: 9:49
298,942 views
3,529


Welcome to a tutorial on web scraping with Beautiful Soup 4. Beautiful Soup is a Python library aimed at helping programmers https://i9.ytimg.com/vi/aIPqt-OdmS0/0.jpg?sqp=CMTBuMAF&rs=AOn4CLCCdxLaQ0UDTyvhX3N87Txa2iGDZQ&time=1477320913969who are trying to scrape data from websites.

To use beautiful soup, you need to install it: $ pip install beautifulsoup4. Beautiful Soup also relies on a parser, the default is lxml. You may already have it, but you should check (open IDLE and attempt to import lxml). If not, do: $ pip install lxml or $ apt-get install python-lxml.

To begin, we need HTML. I have created an example page for us to work with: https://pythonprogramming.net/parsememcparseface/

Tutorial code: https://pythonprogramming.net/introduction-scraping-parsing-beautiful-soup-tutorial/

Beautiful Soup 4 documentation: https://www.crummy.com/software/BeautifulSoup/bs4/doc/

https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex




Other Videos By sentdex


2016-11-07More on list comp and generators - Intermediate Python Programming p.5
2016-11-05What I do for a living - Q&A #1
2016-11-04List comprehension and generator expressions - Intermediate Python Programming p.4
2016-11-03Argparse for CLI - Intermediate Python Programming p.3
2016-11-02String Concatenation and Formatting - Intermediate Python Programming p.2
2016-11-01Introduction - Intermediate Python Programming p. 1
2016-10-28Amazon Echo Dot 2nd Generation (Alexa) Review
2016-10-27Dynamic Javascript Scraping - Web scraping with Beautiful Soup 4 p.4
2016-10-26Tables and XML - Web scraping with Beautiful Soup 4 p.3
2016-10-25Navigating Tags - Web scraping with Beautiful Soup 4 p.2
2016-10-24Web scraping and parsing with Beautiful Soup & Python Introduction p.1
2016-10-20Python Apparel Crowdfunding
2016-10-04TFLearn - Deep Learning with Neural Networks and TensorFlow p. 14
2016-09-20Convolutional Neural Networks with TensorFlow - Deep Learning with Neural Networks 13
2016-09-19Convolutional Neural Networks Basics - Deep Learning withTensorFlow 12
2016-09-14RNN Example in Tensorflow - Deep Learning with Neural Networks 11
2016-09-13Recurrent Neural Networks (RNN) - Deep Learning with Neural Networks and TensorFlow 10
2016-08-26Installing the GPU version of TensorFlow for making use of your CUDA GPU
2016-08-25Using More Data - Deep Learning with Neural Networks and TensorFlow part 8
2016-08-24Training/Testing on our Data - Deep Learning with Neural Networks and TensorFlow part 7
2016-08-23Preprocessing cont'd - Deep Learning with Neural Networks and TensorFlow part 6



Tags:
web scraping
parsing
beautiful soup 4
beautiful soup
python
tutorial
spider
parse
scrape