created stub for NIST parser
This commit is contained in:
parent
81886981a3
commit
95e9675605
16
FourmiCrawler/sources/NIST.py
Normal file
16
FourmiCrawler/sources/NIST.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from scrapy import log
|
||||||
|
# from scrapy.http import Request
|
||||||
|
|
||||||
|
|
||||||
|
class NIST(Source):
|
||||||
|
website = "http://webbook.nist.gov/*"
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
Source.__init__(self)
|
||||||
|
|
||||||
|
def parse(self, reponse):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def new_compound_request(self, compound):
|
||||||
|
# return Request(url=self.website[:-1] + compound, callback=self.parse)
|
||||||
|
pass
|
Reference in New Issue
Block a user