diff options
author | ssstvinc2 <sstvinc2@gmail.com> | 2017-02-10 16:33:43 -0500 |
---|---|---|
committer | ssstvinc2 <sstvinc2@gmail.com> | 2017-02-10 16:33:43 -0500 |
commit | b3b5364c5bbb8a8e5c042e3e36d75b2aea4b2e7b (patch) | |
tree | 2c7ea7e7bd96efc9c3121fadcb4698869314e95f | |
parent | 1e137e4e20f41f0e0055efff7d252de3ed417ed5 (diff) |
NYT tweak
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | main.py | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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 @@ -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 -->', |