if synonym name matched in search instead of primary name, emit primary name as synonym
This commit is contained in:
parent
afc1106838
commit
b46c7a309d
@ -24,6 +24,10 @@ class NIST(Source):
|
|||||||
if title == 'Name Not Found':
|
if title == 'Name Not Found':
|
||||||
log.msg('NIST: Chemical not found!', level=log.ERROR)
|
log.msg('NIST: Chemical not found!', level=log.ERROR)
|
||||||
return
|
return
|
||||||
|
if title not in self.ignore_list:
|
||||||
|
self.ignore_list.update(title)
|
||||||
|
log.msg('NIST emit synonym: %s' % title, level=log.DEBUG)
|
||||||
|
self._spider.get_synonym_requests(title)
|
||||||
|
|
||||||
requests = []
|
requests = []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user