-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
此次的契机是缓存 LexBurner 直播恶心发言的字幕. 同时对于 LexBurner 的发言,我个人表示十分厌恶,已经取关了. 贴个知乎链接: https://www.zhihu.com/question/442911026
- Loading branch information
Showing
9 changed files
with
239 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace BiliDuang.JSONCallback.SubPlayer | ||
{ | ||
|
||
public class SubtitlesItem | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string id { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string lan { get; set; } | ||
/// <summary> | ||
/// 中文(中国) | ||
/// </summary> | ||
public string lan_doc { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string is_lock { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public int author_mid { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string subtitle_url { get; set; } | ||
} | ||
|
||
public class Subtitle | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string allow_submit { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string lan { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string lan_doc { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public List<SubtitlesItem> subtitles { get; set; } | ||
} | ||
|
||
public class Data | ||
{ | ||
|
||
public Subtitle subtitle { get; set; } | ||
} | ||
|
||
public class Root | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public int code { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public string message { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public int ttl { get; set; } | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public Data data { get; set; } | ||
} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.