Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

add dandanplay link

Predidit759f0b044766
diff --git a/lib/pages/about/about_page.dart b/lib/pages/about/about_page.dart
index c2aa5650..c8fb56ef 100644
--- a/lib/pages/about/about_page.dart
+++ b/lib/pages/about/about_page.dart
@@ -150,7 +150,8 @@ class _AboutPageState extends State<AboutPage> {
),
ListTile(
onTap: () {
- launchUrl(Uri.parse(Api.sourceUrl), mode: LaunchMode.externalApplication);
+ launchUrl(Uri.parse(Api.sourceUrl),
+ mode: LaunchMode.externalApplication);
},
dense: false,
title: const Text('项目主页'),
@@ -162,10 +163,11 @@ class _AboutPageState extends State<AboutPage> {
),
ListTile(
onTap: () {
- launchUrl(Uri.parse(Api.iconUrl), mode: LaunchMode.externalApplication);
+ launchUrl(Uri.parse(Api.iconUrl),
+ mode: LaunchMode.externalApplication);
},
dense: false,
- title: const Text('图标创作者'),
+ title: const Text('图标创作'),
trailing: Text('Pixiv',
style: Theme.of(context)
.textTheme
@@ -174,7 +176,8 @@ class _AboutPageState extends State<AboutPage> {
),
ListTile(
onTap: () {
- launchUrl(Uri.parse(Api.bangumiIndex), mode: LaunchMode.externalApplication);
+ launchUrl(Uri.parse(Api.bangumiIndex),
+ mode: LaunchMode.externalApplication);
},
dense: false,
title: const Text('番剧索引'),
@@ -184,6 +187,19 @@ class _AboutPageState extends State<AboutPage> {
.labelMedium!
.copyWith(color: Theme.of(context).colorScheme.outline)),
),
+ ListTile(
+ onTap: () {
+ launchUrl(Uri.parse(Api.dandanIndex),
+ mode: LaunchMode.externalApplication);
+ },
+ dense: false,
+ title: const Text('弹幕来源'),
+ trailing: Text('DanDanPlay',
+ style: Theme.of(context)
+ .textTheme
+ .labelMedium!
+ .copyWith(color: Theme.of(context).colorScheme.outline)),
+ ),
ListTile(
onTap: () {
Modular.to.pushNamed('/tab/my/about/logs');
diff --git a/lib/request/api.dart b/lib/request/api.dart
index d84b0211..77d976fc 100644
--- a/lib/request/api.dart
+++ b/lib/request/api.dart
@@ -23,6 +23,7 @@ class Api {
// 条目搜索
static const String bangumiRankSearch = 'https://api.bgm.tv/v0/search/subjects';
// 弹弹Play
+ static const String dandanIndex = 'https://www.dandanplay.com/';
static const String dandanAPI = "https://api.dandanplay.net/api/v2/comment/";
static const String dandanSearch = "https://api.dandanplay.net/api/v2/search/anime";
static const String dandanInfo = "https://api.dandanplay.net/api/v2/bangumi/";