本gist旨在整理SNH48 Group的咪咕专场公演。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import arrow | |
import hashlib | |
import json | |
import random | |
import requests | |
OTK = '524832,975920,386494,9643' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import json | |
import pathlib | |
import platform | |
import re | |
import subprocess | |
import sys | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
access_key_id: | |
access_key_secret: | |
endpoint: | |
bucket_name: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# - Open Youku video page with web inspector open, search for appinfo, right | |
# click on the request, and "copy as cURL"; | |
# | |
# - In a Linux terminal, run the following command from a fresh directory: | |
# | |
# curl ... | python3 -c "$(curl -s https://gist.githubusercontent.com/zmwangx/79f44ea27915a921b9b06e60043a9468/raw/process-youku-appinfo-jsonp)" | |
# | |
# where curl ... is the command you copied in the previous step. |
本gist旨在整理SNH48 Group前成员的基本资料。
Weibo: https://weibo.com/hyesung79
Yizhibo: https://www.yizhibo.com/member/personel/user_info?memberid=125878906
Meipai: https://www.meipai.com/user/1548935138 (uncertain)
Instagram:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -s http://h5.snh48.com/resource/jsonp/members.php?gid=10 | jq '.rows[] | select(.tname == "XII") | select(.status == "99")' | |
{ | |
"sid": "10110", | |
"gid": "10", | |
"gname": "SNH", | |
"sname": "陈韫凌", | |
"fname": "陈 韫凌", | |
"pinyin": "Chen YunLing", | |
"abbr": "CYL", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for gid in 10 20 30 40 50 ; do | |
curl -s http://h5.snh48.com/resource/jsonp/members.php?gid=$gid | jq '.rows[] | {(.sname): .catch_phrase}' | grep -Po '"[^{|}]*' | |
done | |
"陈观慧": "我对你“艾艾艾”不完。。。。" | |
"陈思": "教练教练甜过初恋,初恋初恋不如教练" | |
"戴萌": "今天开始kirakira从今以后pika" | |
"蒋芸": "每天都要多芸转晴" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"张语格": 1, | |
"陈观慧": 3, | |
"呵呵姐": 4, | |
"袁雨桢": 5, | |
"董艳芸": 6, | |
"冯薪朵": 7, | |
"孙芮": 8, | |
"何晓玉": 10, | |
"温晶婕": 11, |