diff --git a/.vitepress/theme/style/custom-block.css b/.vitepress/theme/style/custom-block.css index af16ea6..ba0a04a 100644 --- a/.vitepress/theme/style/custom-block.css +++ b/.vitepress/theme/style/custom-block.css @@ -1,94 +1,193 @@ /* .vitepress/theme/style/custom-block.css */ /* 深浅色卡 */ :root { - --vp-custom-block-info: #cccccc; - --vp-custom-block-info-bg: #fdfdfe; + --custom-block-info-left: #cccccc; + --custom-block-info-bg: #fafafa; - --vp-custom-block-tip: #009400; - --vp-custom-block-tip-bg: #e6f6e6; + --custom-block-tip-left: #009400; + --custom-block-tip-bg: #e6f6e6; - --vp-custom-block-warning: #e6a700; - --vp-custom-block-warning-bg: #fff8e6; + --custom-block-warning-left: #e6a700; + --custom-block-warning-bg: #fff8e6; - --vp-custom-block-danger: #e13238; - --vp-custom-block-danger-bg: #ffebec; + --custom-block-danger-left: #e13238; + --custom-block-danger-bg: #ffebec; - --vp-custom-block-note: #4cb3d4; - --vp-custom-block-note-bg: #eef9fd; + --custom-block-note-left: #4cb3d4; + --custom-block-note-bg: #eef9fd; - --vp-custom-block-important: #a371f7; - --vp-custom-block-important-bg: #f4eefe; + --custom-block-important-left: #a371f7; + --custom-block-important-bg: #f4eefe; - --vp-custom-block-details: #3e3e45; - --vp-custom-block-details-bg: #f1f1f1e8; + --custom-block-caution-left: #e0575b; + --custom-block-caution-bg: #fde4e8; } .dark { - --vp-custom-block-info: #cccccc; - --vp-custom-block-info-bg: #474748; + --custom-block-info-left: #cccccc; + --custom-block-info-bg: #474748; - --vp-custom-block-tip: #009400; - --vp-custom-block-tip-bg: #003100; + --custom-block-tip-left: #009400; + --custom-block-tip-bg: #003100; - --vp-custom-block-warning: #e6a700; - --vp-custom-block-warning-bg: #4d3800; + --custom-block-warning-left: #e6a700; + --custom-block-warning-bg: #4d3800; - --vp-custom-block-danger: #e13238; - --vp-custom-block-danger-bg: #4b1113; + --custom-block-danger-left: #e13238; + --custom-block-danger-bg: #4b1113; - --vp-custom-block-note: #4cb3d4; - --vp-custom-block-note-bg: #193c47; + --custom-block-note-left: #4cb3d4; + --custom-block-note-bg: #193c47; - --vp-custom-block-important: #a371f7; - --vp-custom-block-important-bg: #230555; + --custom-block-important-left: #a371f7; + --custom-block-important-bg: #230555; - --vp-custom-block-details-bg: #ffffff0d; + --custom-block-caution-left: #e0575b; + --custom-block-caution-bg: #391c22; } + /* 标题字体大小 */ .custom-block-title { font-size: 16px; } -/* 注释容器:背景色、左侧 */ +/* info容器:背景色、左侧 */ .custom-block.info { - background-color: var(--vp-custom-block-info-bg); - border-left: 5px solid var(--vp-custom-block-info); + border-left: 5px solid var(--custom-block-info-left); + background-color: var(--custom-block-info-bg); +} + +/* info容器:svg图 */ +.custom-block.info [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%23ccc'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -1px; } /* 提示容器:边框色、背景色、左侧 */ .custom-block.tip { - /* border-color: var(--vp-custom-block-tip); */ - background-color: var(--vp-custom-block-tip-bg); - border-left: 5px solid var(--vp-custom-block-tip); + /* border-color: var(--custom-block-tip); */ + border-left: 5px solid var(--custom-block-tip-left); + background-color: var(--custom-block-tip-bg); +} + +/* 提示容器:svg图 */ +.custom-block.tip [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23009400' d='M7.941 18c-.297-1.273-1.637-2.314-2.187-3a8 8 0 1 1 12.49.002c-.55.685-1.888 1.726-2.185 2.998H7.94zM16 20v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h8zm-3-9.995V6l-4.5 6.005H11v4l4.5-6H13z'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -2px; } /* 警告容器:背景色、左侧 */ .custom-block.warning { - background-color: var(--vp-custom-block-warning-bg); - border-left: 5px solid var(--vp-custom-block-warning); + border-left: 5px solid var(--custom-block-warning-left); + background-color: var(--custom-block-warning-bg); +} + +/* 警告容器:svg图 */ +.custom-block.warning [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M576.286 752.57v-95.425q0-7.031-4.771-11.802t-11.3-4.772h-96.43q-6.528 0-11.3 4.772t-4.77 11.802v95.424q0 7.031 4.77 11.803t11.3 4.77h96.43q6.528 0 11.3-4.77t4.77-11.803zm-1.005-187.836 9.04-230.524q0-6.027-5.022-9.543-6.529-5.524-12.053-5.524H456.754q-5.524 0-12.053 5.524-5.022 3.516-5.022 10.547l8.538 229.52q0 5.023 5.022 8.287t12.053 3.265h92.913q7.032 0 11.803-3.265t5.273-8.287zM568.25 95.65l385.714 707.142q17.578 31.641-1.004 63.282-8.538 14.564-23.354 23.102t-31.892 8.538H126.286q-17.076 0-31.892-8.538T71.04 866.074q-18.582-31.641-1.004-63.282L455.75 95.65q8.538-15.57 23.605-24.61T512 62t32.645 9.04 23.605 24.61z' fill='%23e6a700'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; } /* 危险容器:背景色、左侧 */ .custom-block.danger { - background-color: var(--vp-custom-block-danger-bg); - border-left: 5px solid var(--vp-custom-block-danger); + border-left: 5px solid var(--custom-block-danger-left); + background-color: var(--custom-block-danger-bg); +} + +/* 危险容器:svg图 */ +.custom-block.danger [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.523 0 10 4.477 10 10v3.764a2 2 0 0 1-1.106 1.789L18 19v1a3 3 0 0 1-2.824 2.995L14.95 23a2.5 2.5 0 0 0 .044-.33L15 22.5V22a2 2 0 0 0-1.85-1.995L13 20h-2a2 2 0 0 0-1.995 1.85L9 22v.5c0 .171.017.339.05.5H9a3 3 0 0 1-3-3v-1l-2.894-1.447A2 2 0 0 1 2 15.763V12C2 6.477 6.477 2 12 2zm-4 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z' fill='%23e13238'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -1px; } /* NOTE容器:背景色、左侧 */ .custom-block.note { - background-color: var(--vp-custom-block-note-bg); - border-left: 5px solid var(--vp-custom-block-note); + border-left: 5px solid var(--custom-block-note-left); + background-color: var(--custom-block-note-bg); +} + +/* NOTE容器:svg图 */ +.custom-block.note [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%234cb3d4'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -1px; } /* IMPORTANT容器:背景色、左侧 */ .custom-block.important { - background-color: var(--vp-custom-block-important-bg); - border-left: 5px solid var(--vp-custom-block-important); + border-left: 5px solid var(--custom-block-important-left); + background-color: var(--custom-block-important-bg); +} + +/* IMPORTANT容器:svg图 */ +.custom-block.important [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512 981.333a84.992 84.992 0 0 1-84.907-84.906h169.814A84.992 84.992 0 0 1 512 981.333zm384-128H128v-42.666l85.333-85.334v-256A298.325 298.325 0 0 1 448 177.92V128a64 64 0 0 1 128 0v49.92a298.325 298.325 0 0 1 234.667 291.413v256L896 810.667v42.666zm-426.667-256v85.334h85.334v-85.334h-85.334zm0-256V512h85.334V341.333h-85.334z' fill='%23a371f7'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -1px; } /* CAUTION容器:背景色、左侧 */ .custom-block.caution { - background-color: var(--vp-c-red-soft); - border-left: 5px solid var(--vp-c-red-3); + border-left: 5px solid var(--custom-block-caution-left); + background-color: var(--custom-block-caution-bg); +} + +/* CAUTION容器:svg图 */ +.custom-block.caution [class*="custom-block-title"]::before { + content: ''; + background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.523 0 10 4.477 10 10v3.764a2 2 0 0 1-1.106 1.789L18 19v1a3 3 0 0 1-2.824 2.995L14.95 23a2.5 2.5 0 0 0 .044-.33L15 22.5V22a2 2 0 0 0-1.85-1.995L13 20h-2a2 2 0 0 0-1.995 1.85L9 22v.5c0 .171.017.339.05.5H9a3 3 0 0 1-3-3v-1l-2.894-1.447A2 2 0 0 1 2 15.763V12C2 6.477 6.477 2 12 2zm-4 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z' fill='%23e13238'/%3E%3C/svg%3E"); + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + position: relative; + margin-right: 4px; + left: -5px; + top: -1px; } \ No newline at end of file diff --git a/.vitepress/theme/style/index.css b/.vitepress/theme/style/index.css index 3fe7686..4da01d2 100644 --- a/.vitepress/theme/style/index.css +++ b/.vitepress/theme/style/index.css @@ -7,7 +7,7 @@ @import './blockquote.css'; @import './marker.css'; @import './vp-code.css'; - +@import './rainbow.css'; @import '../font/HarmonyOS_Sans_SC_Medium/font.css'; @import '../font/HarmonyOS_Sans_SC_Regular/font.css'; diff --git a/.vitepress/theme/style/rainbow.css b/.vitepress/theme/style/rainbow.css new file mode 100644 index 0000000..3068ccf --- /dev/null +++ b/.vitepress/theme/style/rainbow.css @@ -0,0 +1,447 @@ +/* 彩虹动画 */ +@keyframes rainbow { + 0% { + --rainbow-prev: #009ff7; + --rainbow-next: #c76dd1; + } + + 1.25% { + --rainbow-prev: #009dfa; + --rainbow-next: #cf69c9; + } + + 2.5% { + --rainbow-prev: #009bfc; + --rainbow-next: #d566c2; + } + + 3.75% { + --rainbow-prev: #0098fd; + --rainbow-next: #dc63ba; + } + + 5% { + --rainbow-prev: #0096fd; + --rainbow-next: #e160b3; + } + + 6.25% { + --rainbow-prev: #0093fd; + --rainbow-next: #e65eab; + } + + 7.5% { + --rainbow-prev: #2e90fc; + --rainbow-next: #e95ca2; + } + + 8.75% { + --rainbow-prev: #4d8dfa; + --rainbow-next: #ed5a9a; + } + + 10% { + --rainbow-prev: #638af8; + --rainbow-next: #ef5992; + } + + 11.25% { + --rainbow-prev: #7587f5; + --rainbow-next: #f15989; + } + + 12.5% { + --rainbow-prev: #8583f1; + --rainbow-next: #f25981; + } + + 13.75% { + --rainbow-prev: #9280ed; + --rainbow-next: #f25a79; + } + + 15% { + --rainbow-prev: #9f7ce9; + --rainbow-next: #f25c71; + } + + 16.25% { + --rainbow-prev: #aa78e3; + --rainbow-next: #f15e69; + } + + 17.5% { + --rainbow-prev: #b574dd; + --rainbow-next: #ef6061; + } + + 18.75% { + --rainbow-prev: #be71d7; + --rainbow-next: #ed635a; + } + + 20% { + --rainbow-prev: #c76dd1; + --rainbow-next: #eb6552; + } + + 21.25% { + --rainbow-prev: #cf69c9; + --rainbow-next: #e8694b; + } + + 22.5% { + --rainbow-prev: #d566c2; + --rainbow-next: #e46c44; + } + + 23.75% { + --rainbow-prev: #dc63ba; + --rainbow-next: #e06f3d; + } + + 25% { + --rainbow-prev: #e160b3; + --rainbow-next: #db7336; + } + + 26.25% { + --rainbow-prev: #e65eab; + --rainbow-next: #d77630; + } + + 27.5% { + --rainbow-prev: #e95ca2; + --rainbow-next: #d17a2a; + } + + 28.75% { + --rainbow-prev: #ed5a9a; + --rainbow-next: #cc7d24; + } + + 30% { + --rainbow-prev: #ef5992; + --rainbow-next: #c6811e; + } + + 31.25% { + --rainbow-prev: #f15989; + --rainbow-next: #bf8418; + } + + 32.5% { + --rainbow-prev: #f25981; + --rainbow-next: #b98713; + } + + 33.75% { + --rainbow-prev: #f25a79; + --rainbow-next: #b28a0f; + } + + 35% { + --rainbow-prev: #f25c71; + --rainbow-next: #ab8d0c; + } + + 36.25% { + --rainbow-prev: #f15e69; + --rainbow-next: #a3900b; + } + + 37.5% { + --rainbow-prev: #ef6061; + --rainbow-next: #9c920d; + } + + 38.75% { + --rainbow-prev: #ed635a; + --rainbow-next: #949510; + } + + 40% { + --rainbow-prev: #eb6552; + --rainbow-next: #8b9715; + } + + 41.25% { + --rainbow-prev: #e8694b; + --rainbow-next: #83991b; + } + + 42.5% { + --rainbow-prev: #e46c44; + --rainbow-next: #7a9b21; + } + + 43.75% { + --rainbow-prev: #e06f3d; + --rainbow-next: #719d27; + } + + 45% { + --rainbow-prev: #db7336; + --rainbow-next: #679e2e; + } + + 46.25% { + --rainbow-prev: #d77630; + --rainbow-next: #5da035; + } + + 47.5% { + --rainbow-prev: #d17a2a; + --rainbow-next: #51a13c; + } + + 48.75% { + --rainbow-prev: #cc7d24; + --rainbow-next: #44a244; + } + + 50% { + --rainbow-prev: #c6811e; + --rainbow-next: #34a44b; + } + + 51.25% { + --rainbow-prev: #bf8418; + --rainbow-next: #1ba553; + } + + 52.5% { + --rainbow-prev: #b98713; + --rainbow-next: #00a65b; + } + + 53.75% { + --rainbow-prev: #b28a0f; + --rainbow-next: #00a663; + } + + 55% { + --rainbow-prev: #ab8d0c; + --rainbow-next: #00a76c; + } + + 56.25% { + --rainbow-prev: #a3900b; + --rainbow-next: #00a874; + } + + 57.5% { + --rainbow-prev: #9c920d; + --rainbow-next: #00a87d; + } + + 58.75% { + --rainbow-prev: #949510; + --rainbow-next: #00a985; + } + + 60% { + --rainbow-prev: #8b9715; + --rainbow-next: #00a98e; + } + + 61.25% { + --rainbow-prev: #83991b; + --rainbow-next: #00a996; + } + + 62.5% { + --rainbow-prev: #7a9b21; + --rainbow-next: #00a99f; + } + + 63.75% { + --rainbow-prev: #719d27; + --rainbow-next: #00a9a7; + } + + 65% { + --rainbow-prev: #679e2e; + --rainbow-next: #00a9b0; + } + + 66.25% { + --rainbow-prev: #5da035; + --rainbow-next: #00a9b8; + } + + 67.5% { + --rainbow-prev: #51a13c; + --rainbow-next: #00a9c0; + } + + 68.75% { + --rainbow-prev: #44a244; + --rainbow-next: #00a8c7; + } + + 70% { + --rainbow-prev: #34a44b; + --rainbow-next: #00a8cf; + } + + 71.25% { + --rainbow-prev: #1ba553; + --rainbow-next: #00a7d5; + } + + 72.5% { + --rainbow-prev: #00a65b; + --rainbow-next: #00a6dc; + } + + 73.75% { + --rainbow-prev: #00a663; + --rainbow-next: #00a6e2; + } + + 75% { + --rainbow-prev: #00a76c; + --rainbow-next: #00a4e7; + } + + 76.25% { + --rainbow-prev: #00a874; + --rainbow-next: #00a3ec; + } + + 77.5% { + --rainbow-prev: #00a87d; + --rainbow-next: #00a2f1; + } + + 78.75% { + --rainbow-prev: #00a985; + --rainbow-next: #00a0f4; + } + + 80% { + --rainbow-prev: #00a98e; + --rainbow-next: #009ff7; + } + + 81.25% { + --rainbow-prev: #00a996; + --rainbow-next: #009dfa; + } + + 82.5% { + --rainbow-prev: #00a99f; + --rainbow-next: #009bfc; + } + + 83.75% { + --rainbow-prev: #00a9a7; + --rainbow-next: #0098fd; + } + + 85% { + --rainbow-prev: #00a9b0; + --rainbow-next: #0096fd; + } + + 86.25% { + --rainbow-prev: #00a9b8; + --rainbow-next: #0093fd; + } + + 87.5% { + --rainbow-prev: #00a9c0; + --rainbow-next: #2e90fc; + } + + 88.75% { + --rainbow-prev: #00a8c7; + --rainbow-next: #4d8dfa; + } + + 90% { + --rainbow-prev: #00a8cf; + --rainbow-next: #638af8; + } + + 91.25% { + --rainbow-prev: #00a7d5; + --rainbow-next: #7587f5; + } + + 92.5% { + --rainbow-prev: #00a6dc; + --rainbow-next: #8583f1; + } + + 93.75% { + --rainbow-prev: #00a6e2; + --rainbow-next: #9280ed; + } + + 95% { + --rainbow-prev: #00a4e7; + --rainbow-next: #9f7ce9; + } + + 96.25% { + --rainbow-prev: #00a3ec; + --rainbow-next: #aa78e3; + } + + 97.5% { + --rainbow-prev: #00a2f1; + --rainbow-next: #b574dd; + } + + 98.75% { + --rainbow-prev: #00a0f4; + --rainbow-next: #be71d7; + } + + 100% { + --rainbow-prev: #009ff7; + --rainbow-next: #c76dd1; + } +} + +/* 彩虹色卡 */ +:root, +.dark { + --rainbow-prev: #009ff7; + --rainbow-next: #c76dd1; + animation: rainbow 8s linear infinite; +} + + + +:root { + /* hero标题渐变色 */ + --vp-home-hero-name-color: transparent; + --vp-home-hero-name-background: -webkit-linear-gradient(120deg, var(--rainbow-prev) 30%, var(--rainbow-next)); + + /*hero logo背景渐变色 */ + --vp-home-hero-image-background-image: linear-gradient(-45deg, var(--rainbow-prev) 30%, var(--rainbow-next)); + --vp-home-hero-image-filter: blur(80px); +} + + +@media (min-width: 640px) { + :root { + --vp-home-hero-image-filter: blur(120px); + } +} + +@media (min-width: 960px) { + :root { + --vp-home-hero-image-filter: blur(120px); + } +} + +/* Safari has a very bad performance on gradient and filter */ +.browser-safari, +.browser-firefox { + --vp-home-hero-image-background-image: transparent; + --vp-home-hero-image-filter: ''; +} \ No newline at end of file diff --git a/.vitepress/theme/style/vp-code.css b/.vitepress/theme/style/vp-code.css index 64700da..2965a7c 100644 --- a/.vitepress/theme/style/vp-code.css +++ b/.vitepress/theme/style/vp-code.css @@ -34,7 +34,7 @@ div[class*="language-"].vp-adaptive-theme.line-numbers-mode { /* 有行号:添加 macOS 风格的小圆点 */ -.vp-doc div[class*="language-"].line-numbers-mode::before { +/* .vp-doc div[class*="language-"].line-numbers-mode::before { content: ""; display: block; position: relative; @@ -46,7 +46,7 @@ div[class*="language-"].vp-adaptive-theme.line-numbers-mode { border-radius: 50%; box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f; z-index: 1; -} +} */ diff --git a/docs/intro/apiserver.md b/docs/intro/apiserver.md index 374abcd..dda188e 100644 --- a/docs/intro/apiserver.md +++ b/docs/intro/apiserver.md @@ -4,9 +4,9 @@ > 此功能依赖 [解析库](https://github.com/ikenxuan/amagi) ,~~该库版本正在快速迭代中,你可能需要及时更新插件依赖以确保正常运作~~(已内置) ## 功能介绍 -该功能通过本地部署一个 API 服务,将解析库的接口暴露出来,方便用户使用。
+该功能通过本地部署一个 http 的 API 服务。
接口范围为本插件用到的所有 **_抖音_** **_B站_** API。其他平台暂不考虑

-如果你想增加更多接口,可以给 [解析库](https://github.com/ikenxuan/amagi) 进行贡献,测试成功后将会将相关接口的功能添加到 kkkkkk-10086 插件中 +如果你想增加更多接口,可以给 [解析库 [amagi]](https://github.com/ikenxuan/amagi) 进行贡献,测试成功后将会将相关接口的功能添加到 kkkkkk-10086 插件中 ## 配置 该功能通过配置文件 `app.yaml` 进行管理 @@ -21,5 +21,6 @@ APIServerPort: 4567 # API服务日志 APIServerLog: false ``` +
🛰️ API 文档请查看 [**Apifox**](https://amagi.apifox.cn) diff --git a/docs/intro/main/douyin.md b/docs/intro/main/douyin.md index 6c0a9d0..1810969 100644 --- a/docs/intro/main/douyin.md +++ b/docs/intro/main/douyin.md @@ -1,9 +1,9 @@ # 抖音视频解析 -::: warning 注意!! -抖音解析功能必须要配置 ck ,否则无法解析视频
如何配置抖音 ck ?请看 [**其他功能**](../other.md#配置不同平台的-cookies) +> [!IMPORTANT] 重要 +> 抖音解析功能必须要配置 ck ,否则无法解析视频
如何配置抖音 ck ?请看 [**其他功能**](../other.md#配置不同平台的-cookies) +> -::: --- 插件会自动识别 `APP分享链接`[^1] `web视频链接`[^2] 进行解析
@@ -25,7 +25,7 @@ [^2]: web 视频链接: [`https://www.douyin.com/video/7375088329701854498`](https://www.douyin.com/video/7375088329701854498) -::: warning 注意!! +::: warning 警告 ### 关于抖音 Cookie diff --git a/docs/intro/other.md b/docs/intro/other.md index 6c89763..96a9f79 100644 --- a/docs/intro/other.md +++ b/docs/intro/other.md @@ -48,7 +48,7 @@ kuaisha: 此处填上你的快手ck ## 其他功能 更多信息可使用 `#kkk帮助` `#kkk版本` `#kkk设置`查看 -::: warning 警告 +::: warning 警告 以下内容可能具有时效性 ::: diff --git a/docs/intro/push.md b/docs/intro/push.md index 68ee1ba..4ba678b 100644 --- a/docs/intro/push.md +++ b/docs/intro/push.md @@ -1,7 +1,7 @@ # 推送功能 该功能为定时任务,默认每 10 分钟执行一次推送(可自定义推送间隔,建议使用后台面板修改或直接更改配置文件,不建议使用命令修改) -::: warning 警告 +::: warning 警告 推送功能 **_默认关闭_**,即使配置了推送博主/UP主也不会自动开启
请先使用 `#kkk设置抖音/B站推送开启` 或后台面板设置开启推送功能 ::: ## 配置方法 diff --git a/package.json b/package.json index 28f67f8..b8a2fb7 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "@nolebase/vitepress-plugin-meta": "2.5.0", "@nolebase/vitepress-plugin-page-properties": "2.5.0", "@nolebase/vitepress-plugin-thumbnail-hash": "2.5.0", - "@shikijs/vitepress-twoslash": "^1.18.0", + "@shikijs/vitepress-twoslash": "^1.20.0", "@theojs/lumen": "^3.3.2", - "@types/node": "^22.5.5", + "@types/node": "^22.7.3", "@vite-pwa/vitepress": "^0.5.3", "@vitejs/plugin-vue": "^5.1.4", "@vueuse/core": "^10.11.1", @@ -35,13 +35,13 @@ "ncu": "^0.2.1", "sass": "^1.79.3", "typescript": "^5.6.2", - "vite": "^5.4.7", + "vite": "^5.4.8", "vite-plugin-pwa": "^0.20.5", "vitepress": "^1.3.4", "vitepress-markdown-timeline": "^1.2.1", "vitepress-plugin-codeblocks-fold": "^1.2.28", "vitepress-plugin-comment-with-giscus": "^1.1.15", "vitepress-plugin-group-icons": "^1.2.4", - "vue": "^3.5.8" + "vue": "^3.5.9" } } \ No newline at end of file