diff --git a/brozzler/cli.py b/brozzler/cli.py index 6dab55b..e2b0d18 100644 --- a/brozzler/cli.py +++ b/brozzler/cli.py @@ -471,7 +471,9 @@ def brozzler_list_sites(argv=None): elif args.jobless: reql = reql.filter(~r.row.has_fields('job_id')) elif args.active: - reql = reql.filter({'status': 'ACTIVE'}) + reql = reql.between( + ['ACTIVE', r.minval], ['ACTIVE', r.maxval], + index='sites_last_disclaimed') logging.debug('querying rethinkdb: %s', reql) results = reql.run() if args.yaml: diff --git a/setup.py b/setup.py index 4c04e32..8240510 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def find_package_data(package): setuptools.setup( name='brozzler', - version='1.1b12.dev260', + version='1.1b12.dev261', description='Distributed web crawling with browsers', url='https://github.com/internetarchive/brozzler', author='Noah Levitt',