mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-05-02 22:55:04 -04:00
Remove debugging output, improve support scripts
This commit is contained in:
parent
4e38a142d4
commit
6dc20e660f
3 changed files with 15 additions and 25 deletions
|
@ -11,5 +11,6 @@ logging.basicConfig(level=logging.INFO)
|
|||
umbra_exchange = Exchange('umbra', 'direct', durable=True)
|
||||
with Connection('amqp://guest:guest@localhost:5672//') as conn:
|
||||
producer = conn.Producer(serializer='json')
|
||||
producer.publish({'url': sys.argv[1]}, 'url', exchange=umbra_exchange)
|
||||
for url in sys.argv[1:]:
|
||||
producer.publish({'url': url}, 'url', exchange=umbra_exchange)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue