Archived
1
0

Added the basic structure for the first two spiders

This commit is contained in:
Jip J. Dekker 2014-03-16 23:14:59 +01:00
parent 3548112838
commit 8dd2c168d2
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from scrapy.spider import Spider
class ChemspiderSpider(Spider):
name = "Chemspider"
allowed_domains = ["chemspider.com"]
start_urls = (
'http://www.chemspider.com/',
)
def parse(self, response):
pass

View File

@ -0,0 +1,11 @@
from scrapy.spider import Spider
class WikipediaSpider(Spider):
name = "Wikipedia"
allowed_domains = ["wikipedia.org"]
start_urls = (
'http://www.wikipedia.org/',
)
def parse(self, response):
pass