From 66b95374d985e0f6bc54a3f7d30158e05d28905b Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Tue, 6 Feb 2024 10:49:31 +0400 Subject: [PATCH] FB Marketplace crawler --- fb_marketplace/fb_marketplace_product_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)