In the previous section, we learned about using some important features that are available from pyquery and traversing or identifying elements using those features. In this section, we will be using most of these features from pyquery and we will be using them to scrape data from the web by providing examples with various use cases.
Web scraping using pyquery
Example 1 – scraping data science announcements
In this example, we will be scraping announcements-related details that are found within the data science category from https://developer.ibm.com/announcements/category/data-science/.
The same URL from https://developer.ibm.com/ has also been used to collect data using lxml.cssselect under Example 3, in the Web scraping...