diff --git a/bin/Crawler.py b/bin/Crawler.py index 6773fd37..fff85daf 100755 --- a/bin/Crawler.py +++ b/bin/Crawler.py @@ -61,8 +61,6 @@ if __name__ == '__main__': if len(sys.argv) != 3: print('usage:', 'Crawler.py', 'type_hidden_service (onion or i2p or regular)', 'splash_port') - print(sys.argv[1]) - print(sys.argv[2]) exit(1) type_hidden_service = sys.argv[1] @@ -96,8 +94,8 @@ if __name__ == '__main__': print('incorrect crawler type: {}'.format(type_hidden_service)) exit(0) - print(type_hidden_service) - print(splash_url) + print('crawler type: {}'.format(type_hidden_service)) + print('splash url: {}'.format(splash_url)) crawler_depth_limit = p.config.getint("Crawler", "crawler_depth_limit") diff --git a/bin/torcrawler/tor_crawler.py b/bin/torcrawler/tor_crawler.py index 7881177c..58e8331b 100755 --- a/bin/torcrawler/tor_crawler.py +++ b/bin/torcrawler/tor_crawler.py @@ -9,7 +9,6 @@ from TorSplashCrawler import TorSplashCrawler if __name__ == '__main__': if len(sys.argv) != 7: - print(sys.argv) print('usage:', 'tor_crawler.py', 'splash_url', 'type', 'url', 'domain', 'paste', 'super_father') exit(1) diff --git a/var/www/Flask_server.py b/var/www/Flask_server.py index 9b7a93be..b67c46ff 100755 --- a/var/www/Flask_server.py +++ b/var/www/Flask_server.py @@ -48,8 +48,6 @@ activate_crawler = cfg.get("Crawler", "activate_crawler") if activate_crawler != 'True': toIgnoreModule.add('hiddenServices') -print(toIgnoreModule) - # Dynamically import routes and functions from modules # Also, prepare header.html to_add_to_header_dico = {}