From 04549b446770984b2555d30449f1952d56a83751 Mon Sep 17 00:00:00 2001 From: exposir Date: Thu, 5 Oct 2023 13:47:40 +0800 Subject: [PATCH] Update wallpaper on 2023-10-05 13:47:40 CST --- README.md | 1 - docs/index.md | 18 ------------------ lib/index.js | 9 --------- map.json | 8 ++++++++ 4 files changed, 8 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 61b78a6..60a5c25 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ | | | | |:---:|:---:|:---:| -|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-preview.jpg?raw=true)
2023-10-5 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-4k.jpg?raw=true)
这是怎么做到的!|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-preview.jpg?raw=true)
2023-10-5 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-4k.jpg?raw=true)
这是怎么做到的!|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-preview.jpg?raw=true)
2023-10-5 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-5-4k.jpg?raw=true)
这是怎么做到的!| |![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-4-preview.jpg?raw=true)
2023-10-4 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-4-4k.jpg?raw=true)
狼蛛星云|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-3-preview.jpg?raw=true)
2023-10-3 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-3-4k.jpg?raw=true)
圣灵群岛之旅|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-2-preview.jpg?raw=true)
2023-10-2 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-2-4k.jpg?raw=true)
普罗旺斯大峡谷| |![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-1-preview.jpg?raw=true)
2023-10-1 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-10-1-4k.jpg?raw=true)
生日快乐|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-30-preview.jpg?raw=true)
2023-9-30 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-30-4k.jpg?raw=true)
啊!仙纳度|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-29-preview.jpg?raw=true)
2023-9-29 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-29-4k.jpg?raw=true)
举杯邀明月| |![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-28-preview.jpg?raw=true)
2023-9-28 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-28-4k.jpg?raw=true)
遵命!船长!|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-27-preview.jpg?raw=true)
2023-9-27 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-27-4k.jpg?raw=true)
缓慢平稳地攀登悬崖|![](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-26-preview.jpg?raw=true)
2023-9-26 [4K 版本](https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/2023-9-26-4k.jpg?raw=true)
给滑板“冲浪”的波浪| diff --git a/docs/index.md b/docs/index.md index 4a9c02f..de7cd1f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,24 +4,6 @@ ![](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) -## 2023-10-5 这是怎么做到的! - -巴布亚企鹅,南极洲 (© Art Wolfe/Getty Images) [4k Edition](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - -![](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - -## 2023-10-5 这是怎么做到的! - -巴布亚企鹅,南极洲 (© Art Wolfe/Getty Images) [4k Edition](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - -![](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - -## 2023-10-5 这是怎么做到的! - -巴布亚企鹅,南极洲 (© Art Wolfe/Getty Images) [4k Edition](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - -![](https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) - ## 2023-10-4 狼蛛星云 狼蛛星云中形成的年轻恒星,詹姆斯·韦布空间望远镜 (© NASA, ESA, CSA, STScI, Webb ERO Production Team) [4k Edition](https://cn.bing.com/th?id=OHR.TarantulaNebula_ZH-CN9340300473_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp) diff --git a/lib/index.js b/lib/index.js index e30c7eb..314cbee 100644 --- a/lib/index.js +++ b/lib/index.js @@ -96,19 +96,10 @@ function writeReadme(list) { `# [Bing Wallpapers](https://bing-wallpapers.vercel.app) \n\n ### ${date} ${chineseTitle} \n\n ![4k版本](${`https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/${date}-4k.jpg?raw=true`}) \n\n` + content; yield (0, promises_1.writeFile)("README.md", allContent); - // const data = await readFile("README.md", "utf-8"); - // console.log("异步读取文件数据: " + data); }); } function buildReadmeContent(list) { const arr = []; - // const today = list[0]; - // const { date, chineseTitle } = today; - // arr.push(`# [Bing Wallpapers](https://bing-wallpapers.vercel.app) \n\n`); - // arr.push(`### ${date} ${chineseTitle} \n\n`); - // arr.push( - // `![4k版本](${`https://github.com/bing-wallpapers/wallpaper-china/blob/main/static/${date}-4k.jpg?raw=true`}) \n\n` - // ); arr.push(`| | | | \n`); arr.push(`|:---:|:---:|:---:| \n`); list.slice(1).forEach((item, index) => { diff --git a/map.json b/map.json index 57e2dea..3660be6 100644 --- a/map.json +++ b/map.json @@ -1,4 +1,12 @@ [ + { + "date": "2023-10-5", + "bing4kUrl": "https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp", + "bingPreviewUrl": "https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp&w=480&h=270", + "bing1080Url": "https://cn.bing.com/th?id=OHR.GentooJump_ZH-CN9625511393_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp", + "chineseTitle": "这是怎么做到的!", + "chineseCopyright": "巴布亚企鹅,南极洲 (© Art Wolfe/Getty Images)" + }, { "date": "2023-10-4", "bing4kUrl": "https://cn.bing.com/th?id=OHR.TarantulaNebula_ZH-CN9340300473_UHD.jpg&rf=LaDigue_UHD.jpg&pid=hp",