mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-16 16:07:15 +08:00
抖店精选联盟数据
This commit is contained in:
parent
a92d8895c4
commit
f6a0b97ce7
@ -107,7 +107,7 @@ if __name__ == '__main__':
|
||||
while True:
|
||||
sql = f"""
|
||||
select task_id, data, deduplication, update_time from buyin_authorStatData_authorOverviewV2 where
|
||||
date_sub(CURDATE(),INTERVAL 2 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
"""
|
||||
res = qc.eb_supports.query(sql)
|
||||
if not res:
|
||||
|
@ -96,7 +96,7 @@ if __name__ == '__main__':
|
||||
while True:
|
||||
sql = f"""
|
||||
select task_id, data, deduplication, update_time from buyin_authorStatData_authorProfile where
|
||||
date_sub(CURDATE(),INTERVAL 5 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
"""
|
||||
res = qc.eb_supports.query(sql)
|
||||
if not res:
|
||||
|
@ -74,7 +74,7 @@ if __name__ == '__main__':
|
||||
while True:
|
||||
sql = f"""
|
||||
select task_id, data, deduplication, update_time from buyin_authorStatData_seekAuthor where
|
||||
date_sub(CURDATE(),INTERVAL 5 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
"""
|
||||
res = qc.eb_supports.query(sql)
|
||||
if not res:
|
||||
|
@ -47,7 +47,7 @@ if __name__ == '__main__':
|
||||
while True:
|
||||
sql = f"""
|
||||
select task_id, data, deduplication, update_time from buyin_contact_info where
|
||||
date_sub(CURDATE(),INTERVAL 2 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
date_sub(CURDATE(),INTERVAL 20 DAY) <= DATE(update_time) LIMIT 1000 OFFSET {offset};
|
||||
"""
|
||||
res = qc.eb_supports.query(sql)
|
||||
if not res:
|
||||
|
Loading…
x
Reference in New Issue
Block a user