tests(script): remove request to static.ricterz.me
-import requests
-
from bgmi.script import ScriptBase
@@ -11,7 +9,11 @@ class Script(ScriptBase):
def get_download_url(self):
# fetch and return dict
- resp = requests.get("http://static.ricterz.me/bgmi_test.json").json()
+ resp = {
+ 1: "http://example.com/Bangumi/1/1.mp4",
+ 2: "http://example.com/Bangumi/1/2.torrent",
+ 3: "http://example.com/Bangumi/1/3.mp4",
+ }
ret = {}
for k, v in resp.items():
