summaryrefslogtreecommitdiff
path: root/unbiasedObjects.py
diff options
context:
space:
mode:
Diffstat (limited to 'unbiasedObjects.py')
-rw-r--r--unbiasedObjects.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/unbiasedObjects.py b/unbiasedObjects.py
index 56530c5..b1f6ec5 100644
--- a/unbiasedObjects.py
+++ b/unbiasedObjects.py
@@ -36,12 +36,15 @@ class NewsSource():
h1Arr=None
h2Arr=None
h3Arr=None
-
+ #url to attach to stub links
+ stubURL=''
+
def __init__(self, name, url,
h1DelStart, h2DelStart, h3DelStart,
h1SectionDividerStart=None, h1SectionDividerEnd=None,
h2SectionDividerStart=None, h2SectionDividerEnd=None,
- h3SectionDividerStart=None, h3SectionDividerEnd=None):
+ h3SectionDividerStart=None, h3SectionDividerEnd=None,
+ stubURL=None):
self.name=name
self.url=url
self.h1DelStart=h1DelStart
@@ -56,6 +59,7 @@ class NewsSource():
self.h1Arr=[]
self.h2Arr=[]
self.h3Arr=[]
+ self.stubURL=stubURL
def addArticle(self, article, level):
if level==1: