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 | |
# Usage: bash gen_iptv_m3u8.sh iptv.pcap | |
udpxy=192.168.5.1:7088 | |
input=$1 | |
workdir=${input%%.*} | |
tshark -r $1 -Y 'http.response_for.uri contains getchannellist' -T jsonraw -j data-text-lines_raw \ | |
| awk '/"data-text-lines_raw"/{getline; print}' \ | |
| sed -E 's/"|,//g' \ |
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
// ==UserScript== | |
// @name Sarasa-Gothic-Font-Substitution-Tool | |
// @name:en-US Sarasa Gothic Font Substitution Tool | |
// @name:zh-CN 更纱黑体字体替换工具 | |
// @name:zh-TW 更紗黑體字型替換工具 | |
// @name:zh-HK 更紗黑體字型替換工具 | |
// @name:ja-JP 更紗ゴシックフォント置換ツール | |
// @name:ko-KR 사라사고딕 폰트 대체 도구 | |
// @namespace https://gist.github.com/zozovo/8a76915acf197a873304dd23f2cfd49c | |
// @version 8.9 |