mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-19 12:24:20 -04:00
fix brozzler-list-sites --site=SITE_ID
This commit is contained in:
parent
1a3e15d23b
commit
daecb4f59e
2 changed files with 3 additions and 1 deletions
|
@ -499,6 +499,8 @@ def brozzler_list_sites(argv=None):
|
||||||
reql = reql.between(
|
reql = reql.between(
|
||||||
['ACTIVE', r.minval], ['ACTIVE', r.maxval],
|
['ACTIVE', r.minval], ['ACTIVE', r.maxval],
|
||||||
index='sites_last_disclaimed')
|
index='sites_last_disclaimed')
|
||||||
|
elif args.site:
|
||||||
|
reql = reql.get_all(args.site)
|
||||||
logging.debug('querying rethinkdb: %s', reql)
|
logging.debug('querying rethinkdb: %s', reql)
|
||||||
results = reql.run()
|
results = reql.run()
|
||||||
if args.yaml:
|
if args.yaml:
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ def find_package_data(package):
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='brozzler',
|
name='brozzler',
|
||||||
version='1.1b12.dev272',
|
version='1.1b12.dev273',
|
||||||
description='Distributed web crawling with browsers',
|
description='Distributed web crawling with browsers',
|
||||||
url='https://github.com/internetarchive/brozzler',
|
url='https://github.com/internetarchive/brozzler',
|
||||||
author='Noah Levitt',
|
author='Noah Levitt',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue