added jspl_encoder_wrapper.py

This commit is contained in:
2025-08-13 16:26:49 +02:00
parent 9b191be6d6
commit 32eb83c5d6
6 changed files with 122 additions and 40 deletions
+2 -2
View File
@@ -153,7 +153,7 @@ class JsDataPojo:
def __init__(self, glrd, glvd, hc, br_oh, ua, br_ow, br_h, br_w, rs_h, rs_w, rs_cd, ars_h, ars_w, plg, eva, plu,
vnd, pr, ts_mtp, dvm, emd,
ccsB,
br_iw=513, br_ih=847, pf="MacIntel", mob=True,
br_iw=513, br_ih=847, pf="Linux armv81", mob=True,
lgs=["fr-FR", "en-US", "zh-CN", "zh", "fr", "en"],
orf="debug",
bchk="3223aeb6721e0d0917e7928181193ac88dcd62fad5cadfbe7a2b2b473ecf58ee70f098dbdb1a1832e8dc6528387b0745971dbcd82384261e9a4e3f",
@@ -423,7 +423,7 @@ if __name__ == '__main__':
nt_csd=test_data_dict['nt_csd'], nt_nhp=test_data_dict['nt_nhp'], nt_rdc=test_data_dict['nt_rdc'],
nt_it=test_data_dict['nt_it'], nt_prs=test_data_dict['nt_prs'], nt_esc=test_data_dict['nt_esc'],
nt_ttrd=test_data_dict['nt_ttrd'], nt_le=test_data_dict['nt_le'],
nt_dcle=test_data_dict['nt_dcle'], nt_di=test_data_dict['nt_di'], nt_dc=test_data_dict['nt_dc'], )
nt_dcle=test_data_dict['nt_dcle'], nt_di=test_data_dict['nt_di'], nt_dc=test_data_dict['nt_dc'] )
print(js.to_url_encoded_json())
# text_file = open("jsdata.txt", "w")
# # write string to file