快速导出B站收藏单节目列表

 打开一个收藏列表 例如https://space.bilibili.com/192167261/favlist?fid=62499761

然后在控制台执行(F12 - console - 粘贴 - 回车)下面的代码 

剩下慢慢等 5秒钟处理一页

实现代码

function get_list ()
{
    var result = "";
    $(".fav-video-list > li >a.title").each(function(){
        result += $(this).text() + '
this).attr("href") + '" target=_blank >https:'+$(this).attr("href")+'
'; }); return result; } var html = ""; function main (){ html += get_list(); if($(".be-pager-next:visible").length == 0) { document.write(html); return ; }else{ $(".be-pager-next").click(); setTimeout("main()",5000); } } main();

 

转载于:https://www.cnblogs.com/toumingbai/p/11399238.html

你可能感兴趣的:(快速导出B站收藏单节目列表)