Merge branch 'develop' into feature/parser-selection
Conflicts: fourmi.py
This commit is contained in:
commit
000bc556ec
@ -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)
|
||||
|
Reference in New Issue
Block a user