mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-02 22:55:04 -04:00
Refactor to pull Chrome execution inside of umbra, simplify some things
This commit is contained in:
parent
dd871f3a6a
commit
bdf00cc515
2 changed files with 38 additions and 68 deletions
|
@ -24,5 +24,5 @@ umbra_exchange = Exchange('umbra', 'direct', durable=True)
|
|||
with Connection(args.amqp_url) as conn:
|
||||
producer = conn.Producer(serializer='json')
|
||||
for url in args.urls:
|
||||
producer.publish({'url': url}, 'url', exchange=umbra_exchange)
|
||||
producer.publish({'url': url, 'metadata' : {}}, 'url', exchange=umbra_exchange)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue