Scrapy project to scrape public web directories (educational)
Latest commit ec32684 Sep 27, 2016 @eliasdorneles eliasdorneles committed on GitHub Merge pull request #21 from redapple/py3-support
Changes for new DMOZ layout + Python3 compatibility



This is a Scrapy project to scrape websites from public web directories.

This project is only meant for educational purposes.


The items scraped by this project are websites, and the item is defined in the class:


See the source code for more details.


This project contains one spider called dmoz that you can see by running:

scrapy list

Spider: dmoz

The dmoz spider scrapes the Open Directory Project (, and it's based on the dmoz spider described in the Scrapy tutorial

This spider doesn't crawl the entire site but only a few pages by default (defined in the start_urls attribute). These pages are:

So, if you run the spider regularly (with scrapy crawl dmoz) it will scrape only those two pages.


This project uses a pipeline to filter out websites containing certain forbidden words in their description. This pipeline is defined in the class: