Skip to content

Instantly share code, notes, and snippets.

View Jermic's full-sized avatar

Jermic Jermic

View GitHub Profile
@Jermic
Jermic / wechat_getappmsgext.py
Created August 9, 2019 06:28 — forked from chen206/wechat_getappmsgext.py
微信公众号文章抓取阅读数和点赞数
# !/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import json
from urlparse import urlparse, parse_qs
import requests
@Jermic
Jermic / weibo_url_mid_convert.py
Last active July 2, 2021 05:20
微博 url 与 mid 互转工具
"""
:author Jermic
:date 2019-02-13
:weibo https://weibo.com/Jermic/
"""
ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
def base62_encode(num, alphabet=ALPHABET):
@Jermic
Jermic / unwxapkg.py
Created January 4, 2018 06:36 — 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):
@Jermic
Jermic / unwxapkg.py
Created January 4, 2018 04:23 — forked from feix/unwxapkg.py
#!/usr/bin/env python2
# lrdcq
# usage python2 unwxapkg.py filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0
var CryptoJS = require('crypto-js')
var request = require('request-promise')
/*
* npm install crypto-js request-promise
* node wx_t1t_hack.js
*/
// export function testEncription(msg, fullKey) {
// var fullKey = fullKey.slice(0, 16)
@Jermic
Jermic / unwxapkg.py
Created January 2, 2018 02:09 — forked from thedreamwork/unwxapkg.py
unpack wxapkg
#!/usr/bin/python
# usage python unwxapkg.py filename
import sys,os
import struct
class WxapkgFile:
nameLen = 0
name = ""