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)