# scrapyGov **Repository Path**: dych/scrapyGov ## Basic Information - **Project Name**: scrapyGov - **Description**: 爬虫抓取统计局省市区街道编码 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-07-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # QuotesBot This is a Scrapy project to scrape quotes from famous people from http://quotes.toscrape.com ([github repo](https://github.com/scrapinghub/spidyquotes)). This project is only meant for educational purposes. ## Extracted data This project extracts quotes, combined with the respective author names and tags. The extracted data looks like this sample: { 'author': 'Douglas Adams', 'text': '“I may not have gone where I intended to go, but I think I ...”', 'tags': ['life', 'navigation'] } ## Spiders This project contains two spiders and you can list them using the `list` command: $ scrapy list toscrape-css toscrape-xpath Both spiders extract the same data from the same website, but `toscrape-css` employs CSS selectors, while `toscrape-xpath` employs XPath expressions. You can learn more about the spiders by going through the [Scrapy Tutorial](http://doc.scrapy.org/en/latest/intro/tutorial.html). ## Running the spiders You can run a spider using the `scrapy crawl` command, such as: $ scrapy crawl toscrape-css If you want to save the scraped data to a file, you can pass the `-o` option: $ scrapy crawl toscrape-css -o quotes.json