Arthur-Wu committed this file on 2024-11-21

This commit is contained in:
ieemoo
2024-11-21 15:36:55 +08:00
parent 2bed9e9a69
commit 0469beb719
46 changed files with 919 additions and 150 deletions

View File

@ -30,7 +30,7 @@ class SignatureYM():
return headers
class SignatureYM2():
def __init__(self, Mac= '70:f7:54:07:a6:c0'):
def __init__(self, ShoppingCartMac= '70:f7:54:07:a6:c0'):
def __sission_id():
import random, time
def generate_24_digit_random_integer():
@ -45,7 +45,7 @@ class SignatureYM2():
random_integer = generate_24_digit_random_integer()
return str(random_integer)
self.SessionId = __sission_id()
self.Mac = Mac
self.Mac = ShoppingCartMac
def _headers(self):
headers = {