diff options
author | sstvinc2 <sstvinc2@gmail.com> | 2017-02-15 16:14:38 -0600 |
---|---|---|
committer | sstvinc2 <sstvinc2@gmail.com> | 2017-02-15 16:14:38 -0600 |
commit | 38483987b2389b92ca06ac1b409f358ecd4fa991 (patch) | |
tree | 072ae9e6d913b0fe69c140d47cbd040135cab91e /main.py | |
parent | 8e87842bdbd8525c4fa6ec8f1bd95aa42ab9318b (diff) |
Changed randomization algorith for H2 and H3; fully implemented H3
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -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') |