summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <r00t@square-r00t.net>2020-07-14 17:17:04 -0400
committerbrent s <r00t@square-r00t.net>2020-07-14 17:17:04 -0400
commit6deef053d350ad6760a01f06a34424c26ee11869 (patch)
tree9d555480bb134c37e538e2930490f11e67e0621b
parentc4bb612381315516d3dd14bb6a9cb34ed9f0d09d (diff)
downloadOpTools-6deef053d350ad6760a01f06a34424c26ee11869.tar.xz
should probably strip that.
-rwxr-xr-xnet/get_title.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/get_title.py b/net/get_title.py
index dcdebf2..536de1d 100755
--- a/net/get_title.py
+++ b/net/get_title.py
@@ -67,9 +67,9 @@ def main():
rslts = i.find()
if isinstance(rslts, list):
for i in rslts:
- print(i.text)
+ print(i.text.strip())
else:
- print(rslts.text)
+ print(rslts.text.strip())
return(None)