Fork自 梦想橡皮擦 / Python 爬虫120例
体验新版 GitCode,发现更多精彩内容 >>
import scrapy class HbinSpider(scrapy.Spider): name = 'hbin' allowed_domains = ['httpbin.org'] start_urls = ['http://httpbin.org/get'] def parse(self, response): print(response.text)