summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorsstvinc2 <sstvinc2@gmail.com>2017-02-14 22:05:39 -0600
committersstvinc2 <sstvinc2@gmail.com>2017-02-14 22:05:39 -0600
commit511b3ba3f9de0d38e861833d6bcd7160487af111 (patch)
tree749aaf50248caf154a7b4bee52a1d742eb92fd31 /main.py
parentc0a52698826fba2aeb5c2889f3856f051db1052c (diff)
Weekly Standard now uses new parser
Diffstat (limited to 'main.py')
-rw-r--r--main.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/main.py b/main.py
index e26c8c2..948bf36 100644
--- a/main.py
+++ b/main.py
@@ -58,15 +58,8 @@ def run():
None, None))
- sourceList.append(NewsSource('Weekly Standard',
- 'http://www.weeklystandard.com/',
- ['<div class="lead-photo">', 'href="'],
- ['<div class="lead-photo">', 'href="'],
- [],
- '<div id="region_1"', '<div id="region_2"',
- '<div class="widget lead-story layout-3col-feature" data-count="2">', '<div id="region_2"',
- None, None))
-
+ wkl=buildWeeklyStandard()
+ sourceList.append(wkl)
nyt=buildNYT()
sourceList.append(nyt)