Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
add cover download feature
Browse files Browse the repository at this point in the history
also a warning added for audio download
  • Loading branch information
myfreeer authored Sep 15, 2016
1 parent f226d5b commit 2af83b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bilibili_injected.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@
biliHelper.mainBlock.downloaderSection.find('p .b-btn.w').click();
});
}
biliHelper.mainBlock.downloaderSection.find('p').append($('<a class="b-btn" target="_blank" href="http://www.bilibilijj.com/Files/DownLoad/' + biliHelper.cid + '.mp3/www.bilibilijj.com.mp3?mp3=true"></a>').text('抽出并下载音频'));
biliHelper.mainBlock.downloaderSection.find('p').append($('<a class="b-btn" target="_blank" title="实验性功能,由bilibilijj提供,访问慢且不稳定" href="http://www.bilibilijj.com/Files/DownLoad/' + biliHelper.cid + '.mp3/www.bilibilijj.com.mp3?mp3=true"></a>').text('仅下载音频'));
biliHelper.mainBlock.downloaderSection.find('p').append($('<a class="b-btn" target="_blank" href="' + biliHelper.videoPic + '"></a>').text('封面'));
}
if (biliHelper.playbackUrls && biliHelper.playbackUrls.length == 1) {
biliHelper.mainBlock.switcherSection.find('a[type="html5"]').removeClass('hidden');
Expand Down

0 comments on commit 2af83b8

Please sign in to comment.