summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rwxr-xr-xmain.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 5ceb117..7293e95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
*.pyc
*~
__pycache__/
-scratch/*.html \ No newline at end of file
+scratch/*.html
+legacy_py/
+unbiased.html \ No newline at end of file
diff --git a/main.py b/main.py
index edec792..55c9560 100755
--- a/main.py
+++ b/main.py
@@ -61,7 +61,7 @@ def run():
sourceList.append(NewsSource('New York Times',
'http://nytimes.com',
['<a href="'],#'<h1 class="story-heading"><a href="'],#['"b-column column', 'h2 class="story-heading"><a href="'],
- ['<article', '<a href="'],
+ ['<article class="story theme-summary"', '<a href="'],
['<hr class="single-rule"', 'article class="story theme-summary', 'h2 class="story-heading"><a href="'],
'<div class="b-column column">', '<!-- close photo-spot-region -->',
'section id="top-news" class="top-news"', '</div><!-- close a-column -->',