July 2019
Beginner to intermediate
350 pages
8h 13m
English
In this example, we will be scraping details for quotes found in books from http://quotes.toscrape.com/tag/books/. Each individual quote contains certain information, plus a link to the author's detail page, which will also be processed so that we can obtain information regarding the author:

In the following code, the elements in keys will be used as keys for output and will contain the Python dictionary. Basically, we will be collecting data for elements in keys:
from pyquery import PyQuery as pqsourceUrl = 'http://quotes.toscrape.com/tag/books/' ...
Read now
Unlock full access