summaryrefslogtreecommitdiff
path: root/parser.py
diff options
context:
space:
mode:
authorssstvinc2 <sstvinc2@gmail.com>2017-03-23 15:46:10 -0400
committerssstvinc2 <sstvinc2@gmail.com>2017-03-23 15:46:10 -0400
commit85f03a6d410295e1a59c6a8b579a32d9dbfe50ea (patch)
tree3dbcfe8d0ce61480a7e12b7ad626621a0859e7d0 /parser.py
parent80f76db4e9846ed809f1c1310615e6f36421c824 (diff)
Fixed H1 parsing for None types. Should resolve further crashes.
Diffstat (limited to 'parser.py')
-rwxr-xr-xparser.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/parser.py b/parser.py
index 671e2e5..19333e8 100755
--- a/parser.py
+++ b/parser.py
@@ -208,7 +208,6 @@ def buildGuardian():
h1=h1.split('<a href="', 1)[1]
h1=h1.split('"', 1)[0]
- print(h1)
if h1!='https://www.theguardian.com/us':
break
else: