diff --git a/package/lean/pandownload-fake-server/Makefile b/package/lean/pandownload-fake-server/Makefile new file mode 100644 index 0000000000..ac67d8fea1 --- /dev/null +++ b/package/lean/pandownload-fake-server/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2016-2017 GitHub +# +# This is free software, licensed under the GNU General Public License v3. +# See /LICENSE for more information. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=pandownload-fake-server +PKG_VERSION:=1 +PKG_RELEASE:=1 + +PKG_LICENSE:=GPLv3 +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/pandownload-fake-server + SECTION:=net + CATEGORY:=Network + SUBMENU:=Download Manager + TITLE:=pandownload-fake-server + PKGARCH:=all +endef + +define Package/pandownload-fake-server/description + Fake server for Pandownload. +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/pandownload-fake-server/install + $(INSTALL_DIR) $(1)/www + $(CP) ./files/* $(1)/www/ +endef + +$(eval $(call BuildPackage,pandownload-fake-server)) diff --git a/package/lean/pandownload-fake-server/files/api/init b/package/lean/pandownload-fake-server/files/api/init new file mode 100644 index 0000000000..cd09ab4f0b --- /dev/null +++ b/package/lean/pandownload-fake-server/files/api/init @@ -0,0 +1 @@ +{"srecord":{"autoQuery":true},"loginurl":{"url":"http:\/\/pandownload.com\/bdlogin.html"},"wke":"http:\/\/dl.pandownload.club\/dl\/node-190312.dll","pcscfg":{"appid":250528,"ua":"","ct":0},"flag":1,"ad":{"url":"https:\/\/pandownload.com\/donate.html","image":"http:\/\/pandownload.com\/images\/donate.png","attribute":"width=\"88\" height=\"100\" padding=\"0,0,5,0\"","rand":100},"bdc":["aF5yaHQQfQt3E3lxdHdjVmF4f3hae3JsfFxIbGxbW152FHF0anpdW3R5UHR1H1hxdwdoTGRMcXR1THsRbF92XXJbdmpveF93Yl9TE3dod3tYaXYIc1oRXGZKbVR1aGkGcV57dmleen1wEAYEdnV9BXF3BQFxd3sCaGh2BHB0BgdpW3F2c3pbAXF3ewJoaAYEcHQGBHZ1fQVxdwUBcXd7AmhoBgRwdAYEdnV9BXF3BQFxd3sCaGgGBHB0BgR2dX0FcXcFAXF3ewJoaAYEcHQGBHZ1fQVxdwUBcXd7AmhoBgRwdAYEdnV9BXF3BQFxd3sCaGgGBHB0BgRpB21SYXYFFH0UDmpben5afkgCdmsFAH9ydxMIflxqEnUHWxVpdgUTcwdsTH0UcBBpdndddV1+XWh2altzWlpLaVxbWH1cXEh1XWMXfAZ5FnR0fV99aXlcagZrWHUHaRZ9EXVJcnRTXH1MYhB9BlFddVoNDw=="],"timestamp":1586998638,"code":0,"message":"success"} \ No newline at end of file diff --git a/package/lean/pandownload-fake-server/files/api/latest b/package/lean/pandownload-fake-server/files/api/latest new file mode 100644 index 0000000000..f9eaa8e4ac --- /dev/null +++ b/package/lean/pandownload-fake-server/files/api/latest @@ -0,0 +1 @@ +{"version":"2.2.2","url":"https:\/\/dl1.cnponer.com\/files\/PanDownload_v2.2.2.zip","web":"https:\/\/www.lanzous.com\/i8ua9na","detail":"\u66f4\u65b0\u65f6\u95f4: 2020-01-24\n\u66f4\u65b0\u5185\u5bb9:\n1. \u754c\u9762\u4f18\u5316\n2. bug\u4fee\u590d","md5":"13d3da755509afe3be8f7fc191a50cbd","code":0,"message":"success"} \ No newline at end of file diff --git a/package/lean/pandownload-fake-server/files/api/script/list b/package/lean/pandownload-fake-server/files/api/script/list new file mode 100644 index 0000000000..90231df4b6 --- /dev/null +++ b/package/lean/pandownload-fake-server/files/api/script/list @@ -0,0 +1 @@ +{"scripts":[{"name":"search_pandown.lua","remove":true},{"name":"search_ncckl.lua","remove":true},{"name":"search_quzhuanpan.lua","remove":true},{"name":"anime_01.lua","remove":true},{"name":"anime_02.lua","remove":true},{"name":"anime_dilidili.lua","remove":true},{"name":"anime","remove":true},{"name":"s","id":2,"url":"http:\/\/pandownload.com\/static\/scripts\/s008","md5":"8dfd9a6c08d06bec27ae358f315cca8f"},{"name":"download_pcs.lua","id":1000,"url":"http:\/\/pandownload.com\/static\/scripts\/download_pcs.lua","md5":"38770cd3e9bcd62f7212941b51ca1378"},{"name":"default","id":0,"url":"http:\/\/pandownload.com\/static\/scripts\/default_0.6.7_3fee3733","md5":"a1124f076924209d0322078000cdc882","key":"568729a30cee34aec0e6fc7a6e303272"}],"code":0,"message":"success"} \ No newline at end of file