Skip to content

Instantly share code, notes, and snippets.

View jackect's full-sized avatar
🎯
Focusing

Hell Jibe jackect

🎯
Focusing
  • Sichuan, China
View GitHub Profile
@jackect
jackect / unwxapkg.py
Created September 16, 2022 03:28 — forked from Integ/unwxapkg.py
A useful tool for unpack wxapkg file with python3 surport.
# coding: utf-8
# py2 origin author lrdcq
# usage python3 unwxapkg.py filename
__author__ = 'Integ: https://github.com./integ'
import sys, os
import struct
class WxapkgFile(object):
import os
# env = {"PYPPETEER_DOWNLOAD_HOST": "https://npm.taobao.org/mirrors", "PYPPETEER_CHROMIUM_REVISION": "800071"}
# os.environ.update(env)
# from pyppeteer.command import install
# install()
import asyncio
import pyppeteer
import time, json, hashlib, base64, re, gc, sys
nt = 'nt' in os.name