Back to Browse

How to use Scrapy Items - 05 - Python Scrapy tutorial for beginners

3.7K views
Oct 9, 2019
6:25

The goal of scraping is to extract data from websites. Without Scrapy Items, we return unstructured data in the form of Python dictionaries: An easy way to introduce typos and return faulty data. Luckily, Scrapy provides us with the Item class: A class we can inherit to make our data more structured and stronger, yielding a Python object. In this video you will learn how to: Create Scrapy Items Use them to return a structured object ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ 00:13 - Intro 00:51 - Creating a Scrapy Item 02:00 - Testing our Scrapy Item 03:00 - Using our Scrapy Item 04:14 - Running the Spider 05:18 - Summary ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ Scrapy Items: https://docs.scrapy.org/en/latest/topics/items.html ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬ Subscribe to the channel: https://www.youtube.com/channel/UC9OLm6YFRzr4yjlw4xNWYvg?sub_confirmation=1 Text version: https://letslearnabout.net/python/python-scrapy-tutorial-for-beginners-05-how-to-use-scrapy-items/ Twitter: https://twitter.com/DavidMM1707 GitHub: https://github.com/david1707/scrapy_tutorial/tree/05_lesson

Download

1 formats

Video Formats

360pmp411.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to use Scrapy Items - 05 - Python Scrapy tutorial for beginners | NatokHD