luci-app-unblockneteasemusic-mini: bump v1.1

This commit is contained in:
CN_SZTL 2019-12-21 20:57:02 +08:00
parent a945201177
commit 14374fd9f1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 6 additions and 2 deletions

View File

@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-unblockneteasemusic-mini
PKG_VERSION:=1.0
PKG_RELEASE:=2
PKG_VERSION:=1.1
PKG_RELEASE:=1
LUCI_TITLE:=LuCI support for UnblockNeteaseMusic
LUCI_DEPENDS:=+busybox +dnsmasq-full +ipset +iptables +wget
LUCI_PKGARCH:=all

View File

@ -0,0 +1,4 @@
#!/bin/sh
sleep 10
wget -O- "http://httpdns.n.netease.com/httpdns/v2/d?domain=music.163.com,interface.music.163.com,interface3.music.163.com,apm.music.163.com,apm3.music.163.com,clientlog.music.163.com,clientlog3.music.163.com" |grep -Eo '[0-9]+?\.[0-9]+?\.[0-9]+?\.[0-9]+?' |sort |uniq |awk '{print "ipset add music "$1}' |sh