fix brozzler-list-sites --site=SITE_ID

This commit is contained in:
Noah Levitt 2017-12-21 17:16:41 -08:00
parent 1a3e15d23b
commit daecb4f59e
2 changed files with 3 additions and 1 deletions

View File

@ -499,6 +499,8 @@ def brozzler_list_sites(argv=None):
reql = reql.between(
['ACTIVE', r.minval], ['ACTIVE', r.maxval],
index='sites_last_disclaimed')
elif args.site:
reql = reql.get_all(args.site)
logging.debug('querying rethinkdb: %s', reql)
results = reql.run()
if args.yaml:

View File

@ -32,7 +32,7 @@ def find_package_data(package):
setuptools.setup(
name='brozzler',
version='1.1b12.dev272',
version='1.1b12.dev273',
description='Distributed web crawling with browsers',
url='https://github.com/internetarchive/brozzler',
author='Noah Levitt',