add ci and one test case

This commit is contained in:
Benny
2023-02-13 19:41:57 +01:00
parent c7711aea08
commit 4b953b68ec
12 changed files with 1041 additions and 999 deletions

View File

@@ -1,8 +1,12 @@
name: build docker image name: Build and push docker image
on: on:
push: push:
branches: branches:
- 'master' - 'master'
paths-ignore:
- '**.md'
- '**.yml'
- 'LICENSE'
jobs: jobs:
docker: docker:
@@ -64,7 +68,35 @@ jobs:
with: with:
string: ${{ github.event.repository.full_name }} string: ${{ github.event.repository.full_name }}
- name: Build and push - name: Start MongoDB
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: "6.0"
- name: Build CI docker images
uses: docker/build-push-action@v2
with:
context: .
# due to the limitation of docker, we can only save one platform at a time.
# for CI purposes, we only need to save amd64 and then build multi-arch later
platforms: linux/amd64
load: true
tags: |
${{ steps.dh_string.outputs.lowercase }}
build-args: |
env=dev
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
- name: Restore database and run tests
run: |
sudo apt update && sudo apt install -y wget
wget -q https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb
sudo dpkg -i mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb
mongorestore --gzip --archive=assets/ci.gz
make ci-test
- name: Build and push docker images
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@@ -86,4 +118,4 @@ jobs:
TOKEN: ${{ secrets.BOT_TOKEN }} TOKEN: ${{ secrets.BOT_TOKEN }}
run: | run: |
curl "https://api.telegram.org/bot$TOKEN/sendMessage?chat_id=260260121&text=Normal%20Build%20complete!" curl "https://api.telegram.org/bot$TOKEN/sendMessage?chat_id=260260121&text=Normal%20Build%20complete!"
echo "Build complete!" echo "YYeTsBot Build complete!"

View File

@@ -1,4 +1,4 @@
name: publish release name: Publish golang one key release
on: on:
push: push:
tags: tags:

View File

@@ -1,4 +1,4 @@
name: CI Test name: Pull Request CI test
on: on:
pull_request: pull_request:
@@ -6,18 +6,17 @@ on:
- master - master
paths-ignore: paths-ignore:
- '**.md' - '**.md'
- '**.yml'
- 'LICENSE'
jobs: jobs:
ci: ci:
name: Build Image Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
uses: actions/checkout@v2
- name: Lower case for ghcr
id: ghcr_string
uses: ASzc/change-string-case-action@v1
with: with:
string: ${{ github.event.repository.full_name }} submodules: true
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
@@ -37,7 +36,7 @@ jobs:
platforms: linux/amd64 platforms: linux/amd64
load: true load: true
tags: | tags: |
ghcr.io/${{ steps.ghcr_string.outputs.lowercase }} yyetsbot:latest
cache-from: type=local,src=/tmp/.buildx-cache cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new cache-to: type=local,dest=/tmp/.buildx-cache-new
@@ -46,6 +45,19 @@ jobs:
rm -rf /tmp/.buildx-cache rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: "6.0"
- name: Restore database and run tests
run: |
sudo apt update && sudo apt install -y wget
wget -q https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb
sudo dpkg -i mongodb-database-tools-ubuntu2204-x86_64-100.6.1.deb
mongorestore --gzip --archive=assets/ci.gz
make ci-test
- name: Install trivy - name: Install trivy
run: | run: |
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
@@ -58,9 +70,9 @@ jobs:
id: trivy id: trivy
with: with:
run: | run: |
trivy image --no-progress --severity "HIGH,CRITICAL" ghcr.io/${{ steps.ghcr_string.outputs.lowercase }} trivy image --no-progress --severity "HIGH,CRITICAL" yyetsbot:latest
- name: Comment CVE PR - name: Comment on CVE PR
uses: thollander/actions-comment-pull-request@v1 uses: thollander/actions-comment-pull-request@v1
with: with:
message: | message: |

View File

@@ -1,36 +0,0 @@
name: Rapid upgrade
on:
issues:
types:
- opened
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: emergency update from ssh
if: github.event.issue.labels[0].name == 'upgrade'
uses: appleboy/ssh-action@master
env:
TOKEN: ${{ secrets.BOT_TOKEN }}
with:
envs: TOKEN
host: ${{ secrets.PROD_HOST }}
username: ${{ secrets.PROD_USERNAME }}
key: ${{ secrets.SSH_KEY }}
command_timeout: 30m
script: |
docker save bennythink/yyetsbot > /root/yyetsbot-old.tar
cd /root/YYeTsBot
make prod
docker-compose -f /home/WebsiteRunner/docker-compose.yml up -d
docker-compose -f /home/BotsRunner/docker-compose.yml up -d
curl "https://api.telegram.org/bot$TOKEN/sendMessage?chat_id=260260121&text=Rapid%20upgrade%20complete!"
echo "Rapid upgrade complete!"
- name: Close Issue
if: github.event.issue.labels[0].name == 'upgrade'
uses: peter-evans/close-issue@v1
with:
comment: Upgrade complete. Close this issue.

View File

@@ -83,3 +83,9 @@ universal:
release: release:
git tag $(shell git rev-parse --short HEAD) git tag $(shell git rev-parse --short HEAD)
git push --tags git push --tags
ci-test:
docker run --rm bennythink/yyetsbot /bin/sh -c "cd /YYeTsBot/yyetsweb/tests;python -m unittest discover -p '*_test.py'"
test:
cd $(WEB)/tests;python -m unittest discover -p '*_test.py'

BIN
assets/ci.gz Normal file

Binary file not shown.

View File

@@ -8,7 +8,7 @@ pymongo==4.3.3
tornado==6.2 tornado==6.2
captcha==0.4 captcha==0.4
passlib==1.7.4 passlib==1.7.4
fakeredis==2.8.0 fakeredis==2.9.0
pytz==2022.7.1 pytz==2022.7.1
filetype==1.2.0 filetype==1.2.0
requests[socks] requests[socks]
@@ -16,6 +16,6 @@ tqdm==4.64.1
retry==0.9.2 retry==0.9.2
pymysql==1.0.2 pymysql==1.0.2
git+https://github.com/tgbot-collection/python-akismet git+https://github.com/tgbot-collection/python-akismet
openpyxl==3.1.0 openpyxl==3.1.1
zhconv==1.4.3 zhconv==1.4.3
jinja2==3.1.2 jinja2==3.1.2

View File

@@ -1,4 +1,4 @@
cat << EOF > /build/build/robots.txt cat << EOF > /YYeTsBot/YYeTsFE/build/robots.txt
User-agent: * User-agent: *
Disallow: / Disallow: /
EOF EOF

View File

@@ -14,7 +14,6 @@ import os
import random import random
import re import re
import string import string
import sys
import fakeredis import fakeredis
import redis import redis
@@ -26,11 +25,13 @@ predefined_str = re.sub(r"[1l0oOI]", "", string.ascii_letters + string.digits)
class Redis: class Redis:
def __init__(self): def __init__(self):
if getattr(sys, '_MEIPASS', None): self.r = redis.StrictRedis(host=os.getenv("redis") or "localhost", decode_responses=True)
try:
self.r.ping()
except redis.exceptions.ConnectionError:
# we can't connect to redis, either generated by pyinstaller(_MEIPASS), or forget to run it.
logging.info("%s Disable redis for standalone exe! %s", "#" * 10, "#" * 10) logging.info("%s Disable redis for standalone exe! %s", "#" * 10, "#" * 10)
self.r = fakeredis.FakeStrictRedis() self.r = fakeredis.FakeStrictRedis()
else:
self.r = redis.StrictRedis(host=os.getenv("redis") or "localhost", decode_responses=True)
def __del__(self): def __del__(self):
self.r.close() self.r.close()

View File

@@ -28,7 +28,7 @@
{ {
"itemid": "554385", "itemid": "554385",
"episode": "12", "episode": "12",
"name": "yyets://N=逃避可耻却有用 人类加油!新春特别篇!!.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ganbare.Jinrui.Shinshun.Special.SP.Chi_Jap.HDTVrip.1280X720.mp4|S=1505489064|H=b7aae378e30689eab20125e3bff3bac1d16a043e|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1609622857", "dateline": "1609622857",
@@ -36,13 +36,13 @@
{ {
"way": "102", "way": "102",
"way_cn": "百度云", "way_cn": "百度云",
"address": "https://pan.baidu.com/s/149tnE0DWW68jU5nMbdFH3w", "address": "https://exmaple.com",
"passwd": "x28a" "passwd": "x28a"
}, },
{ {
"way": "115", "way": "115",
"way_cn": "微云", "way_cn": "微云",
"address": "https://share.weiyun.com/Y2ooLgRe", "address": "https://exmaple.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -50,7 +50,7 @@
{ {
"itemid": "298235", "itemid": "298235",
"episode": "11", "episode": "11",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep11.Final.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=733784950|H=c464b9e32a999b417324b53cd92d2fbfa89b597a|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -59,7 +59,7 @@
{ {
"itemid": "298234", "itemid": "298234",
"episode": "10", "episode": "10",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep10.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=733930391|H=3c572ede5b41a2368d0f64071ea733592876344a|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -68,7 +68,7 @@
{ {
"itemid": "298233", "itemid": "298233",
"episode": "9", "episode": "9",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep09.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629132305|H=129e9e73d44ccf575afc70eecdd171732fc89329|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -77,7 +77,7 @@
{ {
"itemid": "298232", "itemid": "298232",
"episode": "8", "episode": "8",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep08.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629207765|H=47e4573d0d72fa7d2394a377f467d0b352fce08f|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -86,7 +86,7 @@
{ {
"itemid": "298231", "itemid": "298231",
"episode": "7", "episode": "7",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep07.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629119647|H=bb2ff32f008d3d2e58371f34b83292ddde7b51e8|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -95,7 +95,7 @@
{ {
"itemid": "298230", "itemid": "298230",
"episode": "6", "episode": "6",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep06.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629239487|H=83f72df4cd440c22c8c5ab94b559773eb472c46d|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -104,7 +104,7 @@
{ {
"itemid": "298229", "itemid": "298229",
"episode": "5", "episode": "5",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep05.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629262958|H=30bb5f65bff74ebe60d848edd4748b3c3e7e76c7|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -113,7 +113,7 @@
{ {
"itemid": "298228", "itemid": "298228",
"episode": "4", "episode": "4",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep04.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629037391|H=3274e38c1ba20493a0bf62d4f7c65bec651dc3d2|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -122,7 +122,7 @@
{ {
"itemid": "298227", "itemid": "298227",
"episode": "3", "episode": "3",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep03.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=628416378|H=9ac2a719d66b3626011c2d3366367a9d56c20e26|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -131,7 +131,7 @@
{ {
"itemid": "298226", "itemid": "298226",
"episode": "2", "episode": "2",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep02.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|S=629086728|H=d21a081cc6a32daa85310ca6aad81e378f0b736e|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -140,7 +140,7 @@
{ {
"itemid": "298225", "itemid": "298225",
"episode": "1", "episode": "1",
"name": "yyets://N=逃避可耻却有用.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep01.Chi_Jap.HDTVrip.1280X720-ZhuixinFanV2.mp4|S=733967923|H=fa1a42ee8066da0aa2b66ca470814489160ad214|", "name": "yyets://N.fake",
"size": "", "size": "",
"yyets_trans": 0, "yyets_trans": 0,
"dateline": "1491891741", "dateline": "1491891741",
@@ -159,13 +159,13 @@
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:4a6be139e640db770dbe266471e5cc81357c205e&tr=http://tr.cili001.com:8070/announce&tr=udp://p4p.arenabg.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=udp://open.demonii.com:1337", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "https://pan.baidu.com/s/149tnE0DWW68jU5nMbdFH3w", "address": "https://exmaple.com",
"passwd": "x28a" "passwd": "x28a"
} }
] ]
@@ -181,19 +181,19 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep11.Final.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|733784950|51a18ead729a833f58264700b963113a|h=ncojnutlufhohfrl42xr7t2m6lqdwzjf|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:78930bae5efe391ee6bcc4c7dcfa237b05a493f0&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1jHAM8aq", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -209,25 +209,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep10.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|733930391|15b6440bdd991d04a7ff6ba9d22e07d6|h=aodlfl4jgt7paj6v4vbolfjeho5d744t|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:1e50cd628d6829127534e5b9411d505efaea98f8&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1nvPP4db", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/DFw163629975", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -243,25 +243,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep09.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629132305|9d5152f4f21f1a1bf053ce33abd41ad5|h=mwd7hctmq5ziym7ugc2vptn6ieazici3|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:7d047723d5697c68361b05eb20da1c50d224425e&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1nu9tJM5", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/9K9162939027", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -277,25 +277,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep08.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629207765|1ba73a37879514eabd5ab2adf938be40|h=scdffp3xfc4e36fdhslh5p3sr76oh5a6|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:3ac5f75b4ad9e59f1a9752067eaa8ed9117a0931&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1kUGjaMb", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/Ula162377565", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -311,25 +311,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep07.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629119647|1565719ed7d08c10a7bac9a740e3bdda|h=5pho2gfiivlv3rkhrh7q4dvsietozz5r|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:b8283af2cdca0b1b751f716423611e4795fbee77&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1qYfaU3E", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/AtK161811663", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -345,25 +345,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep06.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629239487|9fc21b8ce21f0699f035404ad4baae6a|h=4yse343oq7vymc4qe6qtjyge2yfukf7q|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:0186d5447834e8051af6551faa4cfde44476aff5&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1slzXo3z", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/4ia161194698", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -379,25 +379,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep05.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629262958|ba41b35dcfec2716f90ab664048f7e09|h=yrdanlqzxpqrsldgoi5aobjqhldxm6vq|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:f52c3ba04703cd4298e7a6a09ee87f520f700f7b&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1c1Rl1BU", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/fMW160612929", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -413,25 +413,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep04.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629037391|07d320c3db4ad737e398cc7ba08c5216|h=yzfnqwlsvw2yloobhvkjf6yil6gc5kag|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:46ec914334a77f968d1c789b2f4a9fee8648435a&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1pKED1gv", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/cOt160028088", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -447,25 +447,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep03.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|628416378|8fdc3bd1714d5dab282f5e0f7cdf25be|h=on5tdwesk4maldu4txop3eutgihi2yyu|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:157d2fc48b9efbe8f846643652a7c2f3d7f14989&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1ge3yfL5", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/Ov3159483996", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -481,25 +481,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep02.Chi_Jap.HDTVrip.1280X720-ZhuixinFan.mp4|629086728|3812eb6a3ef37b3ead6ad9c3a26efa24|h=jogqyi4cauhueoppsgcgdnprpbu7om3g|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:1e5a9180c2be2aa6a1e932479dae91ce082ca22d&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1gfHRfnt", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/2Tb158731035", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -515,25 +515,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep01.Chi_Jap.HDTVrip.1280X720-ZhuixinFanV2.mp4|733967923|7116a9dfb86fceed3f5b71604e48745f|h=ku7saiivihhc26hcbx4cjsplvkum62ho|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:2a331028531d0254a2b1f30e55edf99b6b716e49&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1hrOugEK", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/Dde158319090", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -551,7 +551,7 @@
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:4a6be139e640db770dbe266471e5cc81357c205e&tr=http://tr.cili001.com:8070/announce&tr=udp://p4p.arenabg.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=udp://open.demonii.com:1337", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
} }
] ]
@@ -567,19 +567,19 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep11.Final.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|287277713|c5e3cda7312d5c959b054ce1fe2d9648|h=yons5tync72soz55fil76fhasuyef2p5|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:e643ee71dcfc70ef5c768f4801937bee3474ab7c&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1nu7sDDJ", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -595,25 +595,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep10.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|262629609|5ddda8755130865fd0b506b897dd3933|h=56ncsvze3suc4pszccf3frhbw24u454u|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:64c03d502e04f592fa7dc86ea9b13ccce52c53e5&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1cvdJye", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/mcp163620606", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -629,25 +629,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep09.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|207609828|c3bf94d4f2e63139d7196f0297aa3882|h=lixjdvvffgkozmcbujjkeusdmx5uz6h4|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:f331279acc58e85d679418c7a11ebeefb4b02b42&tr=http://tracker.openbittorrent.com/announce&tr=udp://tracker.openbittorrent.com:80/announce&tr=udp://tr.cili001.com:6666/announce&tr=http://tracker.publicbt.com/announce&tr=udp://open.demonii.com:1337&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1miyMEbm", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/pU0162934266", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -663,25 +663,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep08.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|203226404|0b2c976116eead8cee3a086d112ce738|h=b56bqcmprjcnkhwez5siuz2dzzvfljo4|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:2fc115a1a26ed12f8d2f540e9f8699b989193e04&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1kUIkQ7X", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/NyN162369651", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -697,25 +697,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep07.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|215062889|ca0ffa335b3a595e41f71d3c8f277040|h=a65hvn5lzc5c6loc746tf3yexszea4eh|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:2d47c371eba87c52e7618a782b627a95fffed7b4&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1bo9Dwv1", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/8Tk161811666", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -731,25 +731,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep06.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|236167107|5d1ca5827f3cf88cb39bf55df64e017b|h=k2bzvh2zpyljsq6b2g5xbtci3s63q5xy|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:043c0fe675011d2d6a1fcba243e130864e5ab461&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1qYQxCBi", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/aXo161179959", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -765,25 +765,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep05.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|224589979|fc95f51dd77b80abcfc8d2be7955a0fe|h=wgrml4u6cey6iiyxgtx4ml6yrzqdx7ap|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:fb7c0b0c634af47bd5249873eecef81edaefbb5e&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1miLLJBi", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/zRI160610232", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -799,25 +799,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep04.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|200298651|b9e1eef644649f12ef4684f92fdb0379|h=5cvm2z6kxke24ti7gqpgcwesvsfejkvr|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:4edc1466dea534e178214ed701731f6a376996b1&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1hrZk4cc", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/DuN160026666", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -833,25 +833,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep03.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|241387154|923cd649dd5d48840a7f1c42d8ba3700|h=czevlgexn5os63rxulctjubd2u65ukf6|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:0f71cd2401057ef47cdc6ede0dcb1ebaec2e1618&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1gfPtce3", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/Xsc159444636", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -867,25 +867,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep02.Chi_Jap.HDTVrip.852X480-ZhuixinFan.mp4|209947733|ed7626c02262f287b92f2472c5ed1a29|h=f5dwdur3fhjifrztundnr7psdhzzqihv|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:f5e244402d31013208dafea5e0231084cd4b3ed3&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1o8Rgrm6", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/POv158726721", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -901,25 +901,25 @@
{ {
"way": "1", "way": "1",
"way_cn": "电驴", "way_cn": "电驴",
"address": "ed2k://|file|%E9%80%83%E9%81%BF%E5%8F%AF%E8%80%BB%E5%8D%B4%E6%9C%89%E7%94%A8.NIGERUHA.HAJIDAGA.YAKUNITATSU.Ep01.Chi_Jap.HDTVrip.852X480-ZhuixinFanV2.mp4|319730163|56c0ff1e0c00f4ae8b2636d6fa0c20ee|h=teyixuxqajhhehxiupbozfst3r5b5ytk|/", "address": "ed2k://|file|a",
"passwd": "" "passwd": ""
}, },
{ {
"way": "2", "way": "2",
"way_cn": "磁力", "way_cn": "磁力",
"address": "magnet:?xt=urn:btih:e4dcb4f8fc0f99416107da0beb6697ce77b8b66b&tr.1=http://tracker.openbittorrent.com/announce&tr.2=udp://tracker.openbittorrent.com:80/announce&tr.3=udp://tr.cili001.com:6666/announce&tr.4=http://tracker.publicbt.com/announce&tr.5=udp://open.demonii.com:1337&tr.6=udp://tracker.opentrackr.org:1337/announce&tr.7=http://tr.cili001.com:6666/announce", "address": "magnet:?xt=urn",
"passwd": "" "passwd": ""
}, },
{ {
"way": "9", "way": "9",
"way_cn": "网盘", "way_cn": "网盘",
"address": "http://pan.baidu.com/s/1kUTD9cj", "address": "http://abc.com",
"passwd": "" "passwd": ""
}, },
{ {
"way": "12", "way": "12",
"way_cn": "诚通网盘", "way_cn": "诚通网盘",
"address": "http://ZiMuZuUSTV.ctfile.com/fs/07i158318898", "address": "http://abc.com",
"passwd": "" "passwd": ""
} }
] ]
@@ -933,6 +933,5 @@
] ]
} }
] ]
}, }
"is_like": false
} }

View File

@@ -0,0 +1,28 @@
#!/usr/bin/env python3
# coding: utf-8
import pathlib
import sys
import unittest
from tornado.testing import AsyncHTTPTestCase
sys.path.append(pathlib.Path(__file__).parent.parent.as_posix())
from server import RunServer
class YYeTsTest(AsyncHTTPTestCase):
def get_app(self):
return RunServer.application
class TestIndex(YYeTsTest):
def test_homepage(self):
response = self.fetch('/')
self.assertEqual(response.code, 200)
self.assertTrue(b'<!doctype html>' in response.body)
if __name__ == '__main__':
unittest.main()