summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
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')