Arthur-Wu committed this file on 2024-11-21
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user