Skip to content

Commit

Permalink
modified: remove websites
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer committed Jun 24, 2024
1 parent 899cc3c commit ddd9846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions data/website.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ const utilityWebsite = [
// | 默认展开的分类[open] |
"祝MC十五周年快乐![open]": [
// | 网站名称 | 网站地址 URL |
["15周年庆典", "https://www.minecraft.net/15th-anniversary"],
["领取苦力怕披风", "https://www.minecraft.net/15th-anniversary?mcRef=redeemCape"],
["去Xbox半价购买正版", "https://www.xbox.com/games/store/minecraft-java-bedrock-edition-for-pc/9NXP44L49SHJ/0010"],
["去App Store三折购买正版" ,"https://apps.apple.com/us/app/minecraft/id479516143"],
["去Google Play三折购买正版" ,"https://play.google.com/store/apps/details/Minecraft?id=com.mojang.minecraftpe"]
["15周年庆典", "https://www.minecraft.net/15th-anniversary"]
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const pre_list = function(e) {
const lineBlocks = [];
let blocks = JSON.parse($(e).html());
let dom = '';
const importantPattern = /((半价|免费|公益|折扣|限时|特惠|热门|新品|热销|推荐|礼品|[一二两三四五六七八九]折|打折|促销|超值|全新|便宜)|\b(free|off|new|hot|recommend|top|discount|limit|cheap|present|gift)\b)/gi;
const importantPattern = /((半价|免费|公益|折扣|限时|特惠|热门|新品|热销|推荐|礼品|[一二两三四五六七八九]折|打折|促销|超值|全新|便宜|披风)|\b(free|off|new|hot|recommend|top|discount|limit|cheap|present|gift|cape)\b)/gi;
for (let block of blocks) {
// 获取分类并处理
const category = Object.keys(block)[0];
Expand Down

0 comments on commit ddd9846

Please sign in to comment.