From 15fede35d72003ca596f3e4f8b2a1dc904483266 Mon Sep 17 00:00:00 2001 From: antgad Date: Mon, 1 Nov 2021 18:51:24 -0700 Subject: [PATCH] functionality to view saved products --- src/full_version.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/full_version.py b/src/full_version.py index da59abc6..efee97bc 100644 --- a/src/full_version.py +++ b/src/full_version.py @@ -67,6 +67,11 @@ def search_fn(self): pass def extract_list(self): + if os.path.exists(self.user_list): + old_data=pd.read_csv(self.user_list) + print(old_data) + else: + print("No saved data found.") pass def scrape(self,prod):