scraper: make query configurable (Proxies, Websites, Search)

--scraper.query = 'pws'
This commit is contained in:
Mickaël Serneels
2019-04-22 23:26:37 +02:00
parent 15fc29abc4
commit 482cf79676
2 changed files with 10 additions and 7 deletions

View File

@@ -41,5 +41,6 @@ class Config(ComboParser):
section = 'scraper'
self.add_item(section, 'debug', bool, False, 'scraper: whether to print additional debug info', False)
self.add_item(section, 'query', str, 'psw', 'build query using Proxies, Search, Websites', False)
self.aparser.add_argument("--file", help="import a single file containing proxy addrs", type=str, default='', required=False)