mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -146,10 +146,11 @@ class VideoHttp {
|
|||||||
(!enableRcmdDynamic ? i['card_goto'] != 'picture' : true) &&
|
(!enableRcmdDynamic ? i['card_goto'] != 'picture' : true) &&
|
||||||
(i['args'] != null &&
|
(i['args'] != null &&
|
||||||
!blackMidsList.contains(i['args']['up_id']))) {
|
!blackMidsList.contains(i['args']['up_id']))) {
|
||||||
if (zoneRegExp.pattern.isNotEmpty &&
|
// if (zoneRegExp.pattern.isNotEmpty &&
|
||||||
zoneRegExp.hasMatch(i['args']['rname'])) {
|
// i['args']?['rname'] != null &&
|
||||||
continue;
|
// zoneRegExp.hasMatch(i['args']['rname'])) {
|
||||||
}
|
// continue;
|
||||||
|
// }
|
||||||
RecVideoItemAppModel videoItem = RecVideoItemAppModel.fromJson(i);
|
RecVideoItemAppModel videoItem = RecVideoItemAppModel.fromJson(i);
|
||||||
if (!RecommendFilter.filter(videoItem)) {
|
if (!RecommendFilter.filter(videoItem)) {
|
||||||
list.add(videoItem);
|
list.add(videoItem);
|
||||||
@@ -178,6 +179,7 @@ class VideoHttp {
|
|||||||
!RecommendFilter.filterLikeRatio(
|
!RecommendFilter.filterLikeRatio(
|
||||||
i['stat']['like'], i['stat']['view'])) {
|
i['stat']['like'], i['stat']['view'])) {
|
||||||
if (zoneRegExp.pattern.isNotEmpty &&
|
if (zoneRegExp.pattern.isNotEmpty &&
|
||||||
|
i['tname'] != null &&
|
||||||
zoneRegExp.hasMatch(i['tname'])) {
|
zoneRegExp.hasMatch(i['tname'])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1120,6 +1122,7 @@ class VideoHttp {
|
|||||||
!RecommendFilter.filterLikeRatio(
|
!RecommendFilter.filterLikeRatio(
|
||||||
i['stat']['like'], i['stat']['view'])) {
|
i['stat']['like'], i['stat']['view'])) {
|
||||||
if (zoneRegExp.pattern.isNotEmpty &&
|
if (zoneRegExp.pattern.isNotEmpty &&
|
||||||
|
i['tname'] != null &&
|
||||||
zoneRegExp.hasMatch(i['tname'])) {
|
zoneRegExp.hasMatch(i['tname'])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1315,7 +1315,7 @@ List<SettingsModel> get recommendSettings => [
|
|||||||
getBanWord: () => GStorage.banWordForRecommend,
|
getBanWord: () => GStorage.banWordForRecommend,
|
||||||
),
|
),
|
||||||
getBanwordModel(
|
getBanwordModel(
|
||||||
title: '推荐(app端)/热门/分区: 视频分区关键词过滤',
|
title: '热门/分区: 视频分区关键词过滤',
|
||||||
key: SettingBoxKey.banWordForZone,
|
key: SettingBoxKey.banWordForZone,
|
||||||
getBanWord: () => GStorage.banWordForZone,
|
getBanWord: () => GStorage.banWordForZone,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user