Compare commits

...

2 Commits

  1. 4
      atom.xml
  2. 8
      category-sitemap.xml
  3. 16
      post-sitemap.xml
  4. 2
      search.xml
  5. 6
      sitemap.xml
  6. 28
      tag-sitemap.xml
  7. 17
      tech/music-api.html

File diff suppressed because one or more lines are too long

@ -8,15 +8,15 @@
</url>
<url>
<loc>https://www.eee.dog/categories/life/</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
<loc>https://www.eee.dog/categories/tech/</loc>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/categories/tech/</loc>
<lastmod>2021-01-24T14:26:09.958Z</lastmod>
<loc>https://www.eee.dog/categories/life/</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>

@ -7,6 +7,14 @@
<priority>1</priority>
</url>
<url>
<loc>https://www.eee.dog/tech/music-api.html</loc>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://www.eee.dog/life/happiness.html</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
@ -95,14 +103,6 @@
</url>
<url>
<loc>https://www.eee.dog/tech/music-api.html</loc>
<lastmod>2020-09-07T15:16:36.478Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://www.eee.dog/notes/electromagnetism.html</loc>
<lastmod>2020-09-07T08:42:30.667Z</lastmod>

File diff suppressed because one or more lines are too long

@ -4,7 +4,7 @@
<sitemap>
<loc>https://www.eee.dog/post-sitemap.xml</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
</sitemap>
<sitemap>
@ -14,12 +14,12 @@
<sitemap>
<loc>https://www.eee.dog/category-sitemap.xml</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
</sitemap>
<sitemap>
<loc>https://www.eee.dog/tag-sitemap.xml</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
</sitemap>
</sitemapindex>

@ -2,6 +2,20 @@
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.eee.dog/tags/music/</loc>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/api/</loc>
<lastmod>2021-06-22T22:48:56.627Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/idea/</loc>
<lastmod>2021-05-24T09:50:22.412Z</lastmod>
@ -79,13 +93,6 @@
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/api/</loc>
<lastmod>2021-01-23T07:50:50.433Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/WiFi/</loc>
<lastmod>2020-09-30T03:53:23.942Z</lastmod>
@ -184,13 +191,6 @@
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/music/</loc>
<lastmod>2020-09-07T15:16:36.478Z</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
<url>
<loc>https://www.eee.dog/tags/maxwell/</loc>
<lastmod>2020-09-07T08:42:30.667Z</lastmod>

@ -480,7 +480,7 @@ pjax_google_analytics = () => {
<div class="post-toc" id="post-toc">
<h2 class="post-toc-title">Contents</h2>
<div class="post-toc-content">
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#参数"><span class="toc-text">参数</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#请求地址"><span class="toc-text">请求地址</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#示例"><span class="toc-text">示例</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#返回值-json格式"><span class="toc-text">返回值(json格式)</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Parameters"><span class="toc-text">Parameters</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Request-address"><span class="toc-text">Request address</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Example"><span class="toc-text">Example</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Return-value-json-format"><span class="toc-text">Return value (json format)</span></a></li></ol>
<ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#参数"><span class="toc-text">参数</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#请求地址"><span class="toc-text">请求地址</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#示例"><span class="toc-text">示例</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#获取id为36308263的歌曲信息"><span class="toc-text">获取id为36308263的歌曲信息</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#获取id为2675649523的歌单所有歌曲信息"><span class="toc-text">获取id为2675649523的歌单所有歌曲信息</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#获取2675649523歌单前14首歌曲信息"><span class="toc-text">获取2675649523歌单前14首歌曲信息</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#随机从2675649523歌单获取14首歌曲信息"><span class="toc-text">随机从2675649523歌单获取14首歌曲信息</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#获取36308263的mp3音乐文件"><span class="toc-text">获取36308263的mp3音乐文件</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#获取id为3384296792803059的封面图片"><span class="toc-text">获取id为3384296792803059的封面图片</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#获取36308263歌曲的lrc歌词文件"><span class="toc-text">获取36308263歌曲的lrc歌词文件</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#返回值-json格式"><span class="toc-text">返回值(json格式)</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Parameters"><span class="toc-text">Parameters</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Request-address"><span class="toc-text">Request address</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Example"><span class="toc-text">Example</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Return-value-json-format"><span class="toc-text">Return value (json format)</span></a></li></ol>
</div>
</div>
<script>var arr = [];var ts = '';if($('.post-toc-content').children().length>1){var el = '.post-toc-content';ts = ($(el).children('ol')[0].outerHTML);}else{var el = '.toc';};for(var i = 0; i < $(el).children('li').length; i++){arr.push($(el).children('li')[i].outerHTML);}; arr.splice(arr.length / 2, 0, '</span><span class=".en">');arr.unshift(ts);arr.unshift('<span class=".zh">');arr.push('</span>');$(el).html(arr.join(''));</script><div class="post-content"><span class=".zh">
@ -524,10 +524,18 @@ pjax_google_analytics = () => {
<blockquote>
<p>歌单和歌曲的id可以从<a href="https://music.163.com/#/my/" target="_blank" rel="noopener">云音乐网页版</a>获取。点开歌单或歌曲,查看浏览器地址栏,如下图:<br><img src="https://api.yimian.xyz/img/?path=imgbed/img_dfeddac_552x34_8_null_normal.jpeg" alt="Playlist Id"><br><img src="https://api.yimian.xyz/img/?path=imgbed/img_527a5ea_491x37_8_null_normal.jpeg" alt="Single Song Id"></p>
</blockquote>
<blockquote>
<p>2021-6-23起”我喜欢的音乐”歌单不再受支持。如有需求,请创建一个公开的歌单,并将“我喜欢的音乐”中的歌曲移入。</p>
</blockquote>
<h2 id="请求地址"><a href="#请求地址" class="headerlink" title="请求地址"></a>请求地址</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">GET https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;</span><br></pre></td></tr></table></figure>
<h2 id="示例"><a href="#示例" class="headerlink" title="示例"></a>示例</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;获取id为36308263的歌曲信息</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;single&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;获取id为808097971的歌单所有歌曲信息</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971</span><br><span class="line">&#x2F;&#x2F;获取808097971歌单前14首歌曲信息</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971&amp;limit&#x3D;14</span><br><span class="line">&#x2F;&#x2F;随机从808097971歌单获取14首歌曲信息</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971&amp;limit&#x3D;14&amp;random&#x3D;true</span><br><span class="line">&#x2F;&#x2F;获取36308263的mp3音乐文件</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;url&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;获取id为3384296792803059的封面图片</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;cover&amp;id&#x3D;3384296792803059</span><br><span class="line">&#x2F;&#x2F;获取36308263歌曲的lrc歌词文件</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;lrc&amp;id&#x3D;36308263</span><br></pre></td></tr></table></figure>
<h2 id="示例"><a href="#示例" class="headerlink" title="示例"></a>示例</h2><h3 id="获取id为36308263的歌曲信息"><a href="#获取id为36308263的歌曲信息" class="headerlink" title="获取id为36308263的歌曲信息"></a>获取id为36308263的歌曲信息</h3><p><a href="https://api.yimian.xyz/msc/?type=single&amp;id=36308263" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=single&amp;id=36308263</a></p>
<h3 id="获取id为2675649523的歌单所有歌曲信息"><a href="#获取id为2675649523的歌单所有歌曲信息" class="headerlink" title="获取id为2675649523的歌单所有歌曲信息"></a>获取id为2675649523的歌单所有歌曲信息</h3><p><a href="https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523</a></p>
<h3 id="获取2675649523歌单前14首歌曲信息"><a href="#获取2675649523歌单前14首歌曲信息" class="headerlink" title="获取2675649523歌单前14首歌曲信息"></a>获取2675649523歌单前14首歌曲信息</h3><p><a href="https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523&amp;limit=14" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523&amp;limit=14</a></p>
<h3 id="随机从2675649523歌单获取14首歌曲信息"><a href="#随机从2675649523歌单获取14首歌曲信息" class="headerlink" title="随机从2675649523歌单获取14首歌曲信息"></a>随机从2675649523歌单获取14首歌曲信息</h3><p><a href="https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523&amp;limit=14&amp;random=true" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=playlist&amp;id=2675649523&amp;limit=14&amp;random=true</a></p>
<h3 id="获取36308263的mp3音乐文件"><a href="#获取36308263的mp3音乐文件" class="headerlink" title="获取36308263的mp3音乐文件"></a>获取36308263的mp3音乐文件</h3><p><a href="https://api.yimian.xyz/msc/?type=url&amp;id=36308263" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=url&amp;id=36308263</a></p>
<h3 id="获取id为3384296792803059的封面图片"><a href="#获取id为3384296792803059的封面图片" class="headerlink" title="获取id为3384296792803059的封面图片"></a>获取id为3384296792803059的封面图片</h3><p><a href="https://api.yimian.xyz/msc/?type=cover&amp;id=3384296792803059" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=cover&amp;id=3384296792803059</a></p>
<h3 id="获取36308263歌曲的lrc歌词文件"><a href="#获取36308263歌曲的lrc歌词文件" class="headerlink" title="获取36308263歌曲的lrc歌词文件"></a>获取36308263歌曲的lrc歌词文件</h3><p><a href="https://api.yimian.xyz/msc/?type=lrc&amp;id=36308263" target="_blank" rel="noopener">https://api.yimian.xyz/msc/?type=lrc&amp;id=36308263</a></p>
<h2 id="返回值-json格式"><a href="#返回值-json格式" class="headerlink" title="返回值(json格式)"></a>返回值(json格式)</h2><ul>
<li><p>single单曲模式: </p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">&#123;</span><br><span class="line"> id: <span class="string">"歌曲id"</span>, </span><br><span class="line"> name: <span class="string">"歌曲名称"</span>, </span><br><span class="line"> artist: <span class="string">"第一作者"</span>, </span><br><span class="line"> album: <span class="string">"专辑名称"</span>, </span><br><span class="line"> url: <span class="string">"单曲地址"</span>, </span><br><span class="line"> cover: <span class="string">"封面地址"</span>, </span><br><span class="line"> lrc: <span class="string">"歌词地址"</span></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
@ -555,7 +563,7 @@ pjax_google_analytics = () => {
</blockquote>
<h2 id="Request-address"><a href="#Request-address" class="headerlink" title="Request address"></a>Request address</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">GET https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;</span><br></pre></td></tr></table></figure>
<h2 id="Example"><a href="#Example" class="headerlink" title="Example"></a>Example</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;Get song information with id 36308263</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;single&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;Get all song information of the playlist with id 808097971</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971</span><br><span class="line">&#x2F;&#x2F;Get information about the first 14 songs of the 808097971 playlist</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971&amp;limit&#x3D;14</span><br><span class="line">&#x2F;&#x2F;Get 14 song information randomly from 808097971 playlist</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;808097971&amp;limit&#x3D;14&amp;random&#x3D;true</span><br><span class="line">&#x2F;&#x2F;Get 36308263 mp3 music file</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;url&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;Get the cover image with id 3384296792803059</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;cover&amp;id&#x3D;3384296792803059</span><br><span class="line">&#x2F;&#x2F;Get the lrc lyrics file of 36308263 song</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;lrc&amp;id&#x3D;36308263</span><br></pre></td></tr></table></figure>
<h2 id="Example"><a href="#Example" class="headerlink" title="Example"></a>Example</h2><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;Get song information with id 36308263</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;single&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;Get all song information of the playlist with id 2675649523</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;2675649523</span><br><span class="line">&#x2F;&#x2F;Get information about the first 14 songs of the 2675649523 playlist</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;2675649523&amp;limit&#x3D;14</span><br><span class="line">&#x2F;&#x2F;Get 14 song information randomly from 2675649523 playlist</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;playlist&amp;id&#x3D;2675649523&amp;limit&#x3D;14&amp;random&#x3D;true</span><br><span class="line">&#x2F;&#x2F;Get 36308263 mp3 music file</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;url&amp;id&#x3D;36308263</span><br><span class="line">&#x2F;&#x2F;Get the cover image with id 3384296792803059</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;cover&amp;id&#x3D;3384296792803059</span><br><span class="line">&#x2F;&#x2F;Get the lrc lyrics file of 36308263 song</span><br><span class="line">https:&#x2F;&#x2F;api.yimian.xyz&#x2F;msc&#x2F;?type&#x3D;lrc&amp;id&#x3D;36308263</span><br></pre></td></tr></table></figure>
<h2 id="Return-value-json-format"><a href="#Return-value-json-format" class="headerlink" title="Return value (json format)"></a>Return value (json format)</h2><ul>
<li><p>single mode:</p>
@ -570,6 +578,7 @@ pjax_google_analytics = () => {
</li>
</ul>
</span>
</div>
<div class="post-copyright">
<p class="copyright-item">

Loading…
Cancel
Save