抖音水印python源码
抖音水印python源码 import hashlibimport base64import timeimport requestsimport jsonimport lxml.html def base64encode(text: str, reverse_map: bool = False) -> str: if reverse_map is False: return base64.b64encode(text.encode()).decode() base64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[::-1] r = "" # the result c = 3 - len(text) % 3 # the length of padding p = base64chars[-1] * c # the padding s = text + "\0" * c # the text to encode i = 0 while i < len(s): if i &g...

