From 6deef053d350ad6760a01f06a34424c26ee11869 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 14 Jul 2020 17:17:04 -0400 Subject: [PATCH] should probably strip that. --- net/get_title.py | 4 ++-- 1 file 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)