|
@@ -210,7 +210,7 @@ async def check_tbody_isfull(page ,str_dalaoaddress):
|
|
|
str_token_last_active=str_token_last_active.replace("d","")
|
|
|
number_token_last_active = int(str_token_last_active)
|
|
|
print( f" {str_dalaoaddress} number_token_last_active =", (number_token_last_active))
|
|
|
- if number_token_last_active>30:
|
|
|
+ if number_token_last_active>365:
|
|
|
return True
|
|
|
else :
|
|
|
return False
|
|
@@ -444,7 +444,7 @@ async def main():
|
|
|
|
|
|
# await asyncio.gather(*tasks)
|
|
|
|
|
|
- await get_onedriver_swapactivities( arr_split_str_dalaoaddress[0], arr_split_str_dalaoSwapUrl[0] )
|
|
|
+ await get_onedriver_swapactivities( arr_str_dalaoaddress , arr_str_dalaoUrl )
|
|
|
|
|
|
|
|
|
|
|
@@ -461,31 +461,14 @@ for str_dalaoaddress in temp_arr_dalaoaddress:
|
|
|
f"ori_gmgn_pnl_{str_dalaoaddress}.csv").exists():
|
|
|
arr_str_dalaoaddress.remove(str_dalaoaddress)
|
|
|
|
|
|
-arr_str_dalaoaddress = [
|
|
|
+# arr_str_dalaoaddress = [
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- ]
|
|
|
+# ]
|
|
|
arr_str_dalaoUrl = [
|
|
|
f"https://gmgn.ai/eth/address/{str_dalaoaddress}" for str_dalaoaddress in arr_str_dalaoaddress]
|
|
|
|
|
|
print('arr_str_dalaoaddress', len(arr_str_dalaoaddress))
|
|
|
-driver_len = 1 if len(arr_str_dalaoaddress) >= 1 else len(
|
|
|
- arr_str_dalaoaddress)
|
|
|
-arr_driver = [None]*driver_len
|
|
|
-arr_wait = [None]*driver_len
|
|
|
-arr_home_handle = [None]*driver_len
|
|
|
-arr_split_str_dalaoaddress = [None]*driver_len
|
|
|
-arr_split_str_dalaoSwapUrl = [None]*driver_len
|
|
|
-len_split_str_dalaoaddress = int(len(arr_str_dalaoaddress)/driver_len)+1
|
|
|
-
|
|
|
-for idx_driver in range(0, driver_len):
|
|
|
- arr_split_str_dalaoaddress[idx_driver] = arr_str_dalaoaddress[idx_driver *
|
|
|
- len_split_str_dalaoaddress: (idx_driver+1)*len_split_str_dalaoaddress]
|
|
|
- arr_split_str_dalaoSwapUrl[idx_driver] = arr_str_dalaoUrl[idx_driver *
|
|
|
- len_split_str_dalaoaddress: (idx_driver+1)*len_split_str_dalaoaddress]
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
set_str_dalaoaddress = set(arr_str_dalaoaddress)
|
|
|
|
|
|
|