From 787c1e32630ce72f3d4814615b31005ddb66b650 Mon Sep 17 00:00:00 2001 From: sstvinc2 Date: Wed, 15 Feb 2017 10:42:53 -0600 Subject: Added BBC to new parser --- main.py | 12 ++--------- parser.py | 59 +++++++++++++++++++++++++++++++++++++++++++++++++--- unbiasedFunctions.py | 2 +- 3 files changed, 59 insertions(+), 14 deletions(-) diff --git a/main.py b/main.py index 948bf36..7fbcc23 100644 --- a/main.py +++ b/main.py @@ -15,16 +15,8 @@ def main(): def run(): sourceList=[] - - sourceList.append(NewsSource('BBC US', - 'http://www.bbc.com/news/world/us_and_canada', - ['buzzard-item', '','
', 1)[1] + h2=h2.split('
', 1)[1] + h3=h3.split('Watch/Listen', 1)[0] + while '