diff --git a/pms.py b/pms.py index 5224be8..f31e042 100644 --- a/pms.py +++ b/pms.py @@ -93,7 +93,7 @@ while True: while True: - last_page = soup1.find_all(string=re.compile('No Listings Found')) + last_page = soup1.find_all(string=re.compile('No Listings Found')) # problem is likely here... condition not in page if last_page: break pg = pg + 1