From c2c051b6a31d6f54df87b8d99c3112add3e70a50 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 14 Jul 2020 17:19:48 -0400 Subject: [PATCH] delineate elements --- net/get_title.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/get_title.py b/net/get_title.py index 536de1d..f6c8910 100755 --- a/net/get_title.py +++ b/net/get_title.py @@ -67,9 +67,13 @@ def main(): rslts = i.find() if isinstance(rslts, list): for i in rslts: + print('== {0}: =='.format(args.elem)) print(i.text.strip()) + print('==\n') else: + print('== {0}: =='.format(args.elem)) print(rslts.text.strip()) + print('==') return(None)