FB Marketplace crawler

This commit is contained in:
Shariar Imtiaz 2024-02-06 10:49:31 +04:00
parent 17ee218d3f
commit 66b95374d9
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class FbMarketplaceProductInfo:
table = f"""{self.config.get('crawler_schema')}.{self.config.get('tracker_tab')}""" table = f"""{self.config.get('crawler_schema')}.{self.config.get('tracker_tab')}"""
sql = f""" sql = f"""
SELECT * FROM {table} where flag=0 SELECT * FROM {table} where flag=0 and name<>''
""" """
print("SQL is: {}".format(sql)) print("SQL is: {}".format(sql))
self.cur.execute(sql) self.cur.execute(sql)