From 38483987b2389b92ca06ac1b409f358ecd4fa991 Mon Sep 17 00:00:00 2001 From: sstvinc2 Date: Wed, 15 Feb 2017 16:14:38 -0600 Subject: Changed randomization algorith for H2 and H3; fully implemented H3 --- main.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index cf68d01..92f96ae 100644 --- a/main.py +++ b/main.py @@ -27,23 +27,11 @@ def run(): cbs=buildCBS() sourceList.append(cbs) - - ''' - sourceList.append(NewsSource('The Blaze', - 'http://theblaze.com', - ['', 'href="'], - [], - '', '', - '', '', - None, None)) - ''' - wkl=buildWeeklyStandard() sourceList.append(wkl) - nyt=buildNYT() - sourceList.append(nyt) + #nyt=buildNYT() + #sourceList.append(nyt) fox=buildFoxNews() sourceList.append(fox) @@ -53,6 +41,7 @@ def run(): #build the output file HTML outputHTML=buildOutput(newsSourceArr) + #print the output file HTML printOutputHTML(outputHTML, '/var/www/html/index.html') -- cgit v1.2.3