Commit 31a82a25 authored by huangziyu's avatar huangziyu

1

parent e5a85e5f
username = '17633311520'
password = 'hu9941018'
\ No newline at end of file
username = 'xxx'
password = 'xxx'
\ No newline at end of file
# username = 'Li3456ab'
#
username = 'Tempzgc'
password = 'qwertyuiop1'
username = '19118625837'
password = 'lsl20020412'
#
# # username = '13381042425'
# # password = 'hu19941018'antong9690'
# password = '12
\ No newline at end of file
......@@ -368,7 +368,7 @@ def get_cookie():
# query_spider_sql = f"SELECT id,url,mallId FROM DMP_SEARCH_SPIDER WHERE data_batch ='202401251550270001' and ID NOT IN (SELECT ID FROM DMP_SEARCH_DATA) and mallId = 'DS-JD' order by docID desc limit 10000"
# query_spider_sql = f"SELECT id,url,mallId FROM DMP_SEARCH_SPIDER WHERE ID NOT IN (SELECT ID FROM DMP_SEARCH_DATA) and mallId = 'DS-JD' and data_batch ='202403051815460001' order by id" \
# f" limit 100000"
query_spider_sql = f"SELECT id,url,mallId FROM DMP_SEARCH_SPIDER WHERE ID NOT IN (SELECT ID FROM DMP_SEARCH_DATA) and mallId = 'DS-JD' and project_id = '100' limit 10000"
query_spider_sql = f"SELECT id,url,mallId FROM DMP_SEARCH_SPIDER WHERE ID NOT IN (SELECT ID FROM DMP_SEARCH_DATA) and mallId = 'DS-JD' and project_id = '84' and (id like '5%' or id like '6%' or id like '7%' or id like '8%' or id like '9%' ) limit 10000"
query_spider = mysql_zdzs_proxy(query_spider_sql)
index = 0
len_ = len(query_spider)
......@@ -592,7 +592,7 @@ def get_cookie():
'sku_name': '‘'.join(
''.join(x.xpath(".//div[@class='p-name p-name-type-2']//em//text()")).split(
"'")).strip(),
'sku_price': ''
'sku_price': x.xpath(".//div[@class='p-price']//i//text()")[0]
}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment