|
|
@ -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 = { |
|
|
|