summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorsstvinc2 <sstvinc2@gmail.com>2017-02-15 16:14:38 -0600
committersstvinc2 <sstvinc2@gmail.com>2017-02-15 16:14:38 -0600
commit38483987b2389b92ca06ac1b409f358ecd4fa991 (patch)
tree072ae9e6d913b0fe69c140d47cbd040135cab91e /main.py
parent8e87842bdbd8525c4fa6ec8f1bd95aa42ab9318b (diff)
Changed randomization algorith for H2 and H3; fully implemented H3
Diffstat (limited to 'main.py')
-rw-r--r--main.py17
1 files changed, 3 insertions, 14 deletions
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',
- ['<a class="gallery-link" href="'],
- ['</figure>\n\n<figure class="gallery-item">', 'href="'],
- [],
- '<!-- home -->', '<!-- loop-home -->',
- '<!-- home -->', '<!-- loop-home -->',
- 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')