11 lines
193 B
Python
11 lines
193 B
Python
import scrapy
|
|
|
|
|
|
class DoubanSpider(scrapy.Spider):
|
|
name = "douban"
|
|
allowed_domains = ["douban.com"]
|
|
start_urls = ["http://douban.com/"]
|
|
|
|
def parse(self, response):
|
|
pass
|