Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KingFuRong/pythonSpider
/ base64_to_image
Function
base64_to_image
Utils/tools.py:62–65 ·
view source on GitHub ↗
(base64_str, image_path)
Source
from the content-addressed store, hash-verified
60
61
62
def
base64_to_image(base64_str, image_path):
63
img_data = base64.b64decode(base64_str)
64
with
open(image_path,
'wb'
)
as
f:
65
f.write(img_data)
66
67
68
def
__ease_out_expo(sep):
Callers
1
中国电信登录.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected