From f5b648d72a6aad836a36ec4cdc89f156d15eeb93 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 18 Sep 2018 11:03:40 +0200 Subject: [PATCH] pixelate paste screenshot --- bin/Crawler.py | 3 +- .../showpaste/templates/show_saved_paste.html | 63 ++++++++++++++++++- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/bin/Crawler.py b/bin/Crawler.py index 3660aa41..3e6e89aa 100755 --- a/bin/Crawler.py +++ b/bin/Crawler.py @@ -47,9 +47,8 @@ def crawl_onion(url, domain, date, date_month): print(process.stdout.read()) else: - r_onion.sadd('{}_down:{}'.format(type_hidden_service, date), domain) - r_onion.sadd('{}_down_link:{}'.format(type_hidden_service, date), url) print(process.stdout.read()) + exit(0) else: ## FIXME: # TODO: relaunch docker exit(0) diff --git a/var/www/modules/showpaste/templates/show_saved_paste.html b/var/www/modules/showpaste/templates/show_saved_paste.html index 6f0ccccc..8db7cabd 100644 --- a/var/www/modules/showpaste/templates/show_saved_paste.html +++ b/var/www/modules/showpaste/templates/show_saved_paste.html @@ -423,11 +423,27 @@ {% if crawler_metadata['get_metadata'] %}
- +
+
+
+
+ +
+
+ +
+
+
+
+
+
Graph @@ -574,5 +590,50 @@ {% endfor %} +