mirror of
https://github.com/nikdoof/globaltalk-scraper.git
synced 2025-12-21 23:09:23 +00:00
Write to the provided output file
This commit is contained in:
@@ -111,7 +111,7 @@ def main():
|
||||
print("{0} zones, {1} nodes".format(zones, nodes), file=sys.stderr)
|
||||
|
||||
# Dump out the resulting JSON to stdout
|
||||
sys.stdout.write(json.dumps(zone_results))
|
||||
args.output.write(json.dumps(zone_results))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user