summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py22
1 files changed, 2 insertions, 20 deletions
diff --git a/main.py b/main.py
index c70bb5b..09bfddc 100644
--- a/main.py
+++ b/main.py
@@ -21,26 +21,8 @@ def run():
nbc=buildNBC()
sourceList.append(nbc)
- '''
- sourceList.append(NewsSource('NBC News',
- 'http://nbcnews.com',
- [' top-stories-section', 'panel_hero', '<a href="'],
- ['<div class="story-link', '<a href="'],
- [],
- None, None,
- 'ad-content ad-xs mobilebox1', 'taboola-native-top-stories-thumbnail',
- None, None))
- '''
-
- sourceList.append(NewsSource('CBS News',
- 'http://cbsnews.com',
- ['<h1 class="title">', '<a href="'],
- ['<li data-tb-region-item>', '<a href="'],
- [],
- None, None, #'Big News Area Side Assets', '</a>'
- 'Big News Area Side Assets', '</ul></div>',
- None, None))
-
+ cbs=buildCBS()
+ sourceList.append(cbs)
sourceList.append(NewsSource('The Blaze',