FB Marketplace crawler
This commit is contained in:
parent
17ee218d3f
commit
66b95374d9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue