file path chnages
parent
2170cdfc68
commit
e4f3652d6d
|
@ -17,6 +17,8 @@ with open("cookies.json", "r", encoding="utf-8") as f:
|
|||
# Or if it's a Python dict already:
|
||||
marketplaces = data["marketplaces"]
|
||||
|
||||
BASE_PATH= '/mnt/AmazonReports/Amazon/keyword_ranking'
|
||||
|
||||
|
||||
def get_driver():
|
||||
options = Options()
|
||||
|
@ -93,7 +95,7 @@ def get_amazon_ranks(url, marketplace, keyword):
|
|||
except:
|
||||
continue
|
||||
|
||||
file_path = f"{int(time.time() * 1000)}-{marketplace}-{keyword}.json"
|
||||
file_path = f"{BASE_PATH}/{int(time.time() * 1000)}-{marketplace}-{keyword}.json"
|
||||
|
||||
save_ranking(ranks, file_path )
|
||||
|
||||
|
|
Loading…
Reference in New Issue