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

if synonym name matched in search instead of primary name, emit primary name as synonym

RTB b46c7a30 afc11068

+4
+4
FourmiCrawler/sources/NIST.py
··· 24 24 if title == 'Name Not Found': 25 25 log.msg('NIST: Chemical not found!', level=log.ERROR) 26 26 return 27 + if title not in self.ignore_list: 28 + self.ignore_list.update(title) 29 + log.msg('NIST emit synonym: %s' % title, level=log.DEBUG) 30 + self._spider.get_synonym_requests(title) 27 31 28 32 requests = [] 29 33