Skip to content

Commit d825187

Browse files
committed
refactor: further splitting and modularization of scripts
Clarify the function of each module
1 parent 0b3c616 commit d825187

File tree

10 files changed

+2418
-2422
lines changed

10 files changed

+2418
-2422
lines changed

api.lua

Lines changed: 0 additions & 1584 deletions
This file was deleted.

apis/dandanplay.lua

Lines changed: 545 additions & 0 deletions
Large diffs are not rendered by default.

extra.lua renamed to apis/extra.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ local Source = {
88
["优酷"] = "youku",
99
}
1010

11-
local function is_chinese(str)
12-
return string.match(str, "[\228-\233][\128-\191]") ~= nil
13-
end
14-
1511
local function load_extra_danmaku(url, episode, number, class, id, site, title, year)
1612
local play_url = nil
1713
if url:match("^.-%.html") then

0 commit comments

Comments
 (0)