A web scraper build to search specific information for a given compound (and its pseudonyms)

This method can't be static, we need the cfg file

+1 -2
+1 -2
FourmiCrawler/sources/PubChem.py
··· 62 62 Request(url=self.website_pubchem[:-2].replace("\\", "") + self.data_url % cid, callback=self.parse_data)) 63 63 return requests 64 64 65 - @staticmethod 66 - def parse_data(response): 65 + def parse_data(self, response): 67 66 """ 68 67 Parse data found in 'Chemical and Physical properties' part of a substance page. 69 68 :param response: The response with the page to parse