Archived
1
0

Merge branch 'develop' into feature/parser-selection

Conflicts:
	fourmi.py
This commit is contained in:
Jip J. Dekker 2014-04-17 23:44:00 +02:00
commit 000bc556ec

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
"""
Fourmi, an web scraper build to search specific information for a given compound (and it's pseudonyms).
Fourmi, a web scraper build to search specific information for a given compound (and it's pseudonyms).
Usage:
fourmi search <compound>
@ -71,7 +71,7 @@ def start_log(arguments):
def search(arguments, loader):
start_log(arguments)
settings = scrapy_settings_manipulation(arguments)
setup_crawler([arguments["<compound>"]], settings, loader)
setup_crawler(arguments["<compound>"], settings, loader)
reactor.run()
@ -83,4 +83,4 @@ if __name__ == '__main__':
search(arguments, loader)
elif arguments["list"]:
print "-== Available Sources ==-"
print str(loader)
print str(loader)