diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2013-03-10 00:37:00 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2013-03-10 00:37:00 +0100 |
commit | 70dbdbd2e5c6206597103a50fba3a9006512a593 (patch) | |
tree | e6a0f7cbb5addb91770289e978bffd67bd972603 | |
parent | dtube: print target as first output (diff) | |
download | laurent-tools-70dbdbd2e5c6206597103a50fba3a9006512a593.tar.xz laurent-tools-70dbdbd2e5c6206597103a50fba3a9006512a593.zip |
dtube: nicer output
-rwxr-xr-x | dtube/dtube.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dtube/dtube.py b/dtube/dtube.py index c54127c..30d4dc5 100755 --- a/dtube/dtube.py +++ b/dtube/dtube.py @@ -70,7 +70,7 @@ class He: ip = HeIP(match.group(1).split('/')[0], verbose=verbose) as_target = max(ip.AS.iterkeys(), key=(lambda key: ip.AS[key]['position'])) iprange = ip.AS[as_target]["IPrange"] - print "New IPrange selected: %s" % iprange + print "New IPrange selected: %s\n" % iprange he = HeIPrange(iprange, verbose=verbose) else: raise e @@ -277,7 +277,6 @@ if __name__ == '__main__': if options.url_nocache is False: requests_cache.install_cache('cache_dtube') - print target - print + print "%s\n" % target he = He.initTarget(target, verbose=options.verbose) he.show() |