Archived
1
0

fixed forgotten self.website usage

This commit is contained in:
RTB 2014-06-19 22:45:01 +02:00
parent d7d2a659b1
commit 2290915209

View File

@ -58,7 +58,7 @@ class PubChem(Source):
# the seperate html page which contains the properties and their values
#using this cid to get the right url and scrape it
requests.append(Request(url=self.website_pubchem[:-1] + self.data_url % cid, callback=self.parse_data))
requests.append(Request(url=self.website_pubchem[:-2].replace("\\","") + self.data_url % cid, callback=self.parse_data))
return requests
def parse_data(self, response):