mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 00:29:53 -05:00
fix bug preventing brozzler-new-site from working, add note about brozzler-new-site in readme
This commit is contained in:
parent
479713e25b
commit
7431ae0eb1
@ -70,6 +70,14 @@ must be specified, everything else is optional.
|
||||
scope:
|
||||
surt: http://(org,example,
|
||||
|
||||
Submit a Site to Crawl Without Configuring a Job
|
||||
------------------------------------------------
|
||||
|
||||
::
|
||||
|
||||
brozzler-new-site --proxy=localhost:8000 --enable-warcprox-features \
|
||||
--time-limit=600 http://example.com/
|
||||
|
||||
Brozzler Web Console
|
||||
--------------------
|
||||
|
||||
|
@ -233,6 +233,8 @@ class RethinkDbFrontier:
|
||||
yield brozzler.Job(**result)
|
||||
|
||||
def job(self, id):
|
||||
if id is None:
|
||||
return None
|
||||
result = self.r.table("jobs").get(id).run()
|
||||
if result:
|
||||
return brozzler.Job(**result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user