You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
193 B
8 lines
193 B
import scrapy
|
|
# 配置爬虫的网页
|
|
class UrllRoom():
|
|
# 拉取数据库要查询的
|
|
name = 'baidu'
|
|
allowed_domains = ['www.baidu.com']
|
|
start_urls = ['http://www.baidu.com/']
|
|
|