From 9cb367222d03972b837ddad6e751492e0e9e4f97 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Fri, 12 Mar 2021 04:03:11 +0200 Subject: [PATCH] Minor updates to url-analyzer.py --- code/url-analyzer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/url-analyzer.py b/code/url-analyzer.py index 93db4a0..d972850 100755 --- a/code/url-analyzer.py +++ b/code/url-analyzer.py @@ -27,7 +27,7 @@ TODO: consistency of RDN usage in HTML data ###################################### -#%matplotlib notebook +#%matplotlib inline import matplotlib.pyplot as plt from bs4 import BeautifulSoup as bs @@ -708,7 +708,7 @@ class write_operations(object): fetch_json_data = json_url_data() for u in urls: - print("Fetching URL data: %s" % u) + print("URL data: %s" % u) try: data_parts.update(fetch_json_data.get_url_data(u)) except: @@ -808,7 +808,7 @@ if __name__ == '__main__': # Get URLs from an available JSON data for key_url in json_data.keys(): - print("Generating statistics: %s" % key_url) + print("Generate statistics: %s" % key_url) fig = plt.figure() fig_params = {