diff --git a/fb_marketplace/fb_marketplace_product_info.py b/fb_marketplace/fb_marketplace_product_info.py index 9c71454..bfee87a 100644 --- a/fb_marketplace/fb_marketplace_product_info.py +++ b/fb_marketplace/fb_marketplace_product_info.py @@ -43,7 +43,7 @@ class FbMarketplaceProductInfo: table = f"""{self.config.get('crawler_schema')}.{self.config.get('tracker_tab')}""" sql = f""" - SELECT * FROM {table} where flag=0 + SELECT * FROM {table} where flag=0 and name<>'' """ print("SQL is: {}".format(sql)) self.cur.execute(sql)