Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
1、日志详情优先显示日志最后修改时间,与空间保持一致,没有修改时间显示发表时间
Browse files Browse the repository at this point in the history
2、相册、相片名称悬浮添加基本信息,如名称、描述等
3、支持备份文案及评论中的离线表情,包括QQ表情,微信表情
4、支持备份互动用户的离线头像,如点赞人、访客、评论人的头像,头像为全量收集备份,如无法备份,可能是QQ头像服务器挂了,可在公共->头像下载地址调整服务器
5、好友支持特殊分组-已删好友,基于增量备份识别
6、好友支持特殊分组-五年、十年、二十年好友分组,基于互动信息中的好友相识时间识别,无法识别时间的除外。QQ才24周年,你有二十年以上好友吗?
7、好友支持自定义特殊分组的生成,配置->好友->特殊分组
8、更换好友列表接口,支持分组排序与QQ保持一致,配置->好友->分组排序
9、修复通用JSON转换问题,修复后不知道会修复什么问题,以及引申出什么问题。
10、兼容备份说说返回使用人数过多导致无法完整备份问题,配置->公共>稍候重试的相关配置,虽然兼容,但建议使用模块的查询间隔较好,目前默认只配置说说使用人数过多将自动在一个小时候重试(为啥是一个小时,因为我是一个小时候解除的),最多重试两次。
11、优化添加Aria2下载任务过快导致第三方Aria2崩溃问题,比如Motrix。配置->公共->文件下载间隔
12、调整说说获取评论接口,避免使用说说详情接口,容易导致使用人数过多。
13、优化下载管理,非失败选项,也可单独更换下载工具
14、修复移动端,底部信息遮住足迹入口问题,不过足迹在移动端体验也不好,不建议使用。
15、修复存在微信表情时,备份类型为MarkDown无法正常备份问题
16、修复好友增量备份开启后,互动信息仍重新采集问题
17、修复相册增量备份未打开,其它增量备份打开的情况下,评论等内容没有重新采集问题
18、修复日志增量备份打开后,摘要中的图片仍重复下载问题
19、修复日志出现模板日志后,后面的日志如果不是模板日志,备份下来的内容,全是最后一篇模板日志的内容的问题。
20、兼容留言内容中存在图片,但是不存在图片地址问题。
21、取消语音说说备份,因为QQ空间已下线语音说说功能,且历史数据已无法下载,可在配置->说说->语音说说重新打开

Signed-off-by: lvshuncai <lvshuncai@gmail.com>
  • Loading branch information
ShunCai committed Feb 24, 2023
1 parent 3e84326 commit c497f6b
Show file tree
Hide file tree
Showing 48 changed files with 2,367 additions and 1,204 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# QQ空间导出助手

一键快速备份QQ空间的说说、日志、私密日记、相册、视频、留言板、QQ好友、收藏夹、分享、访客为文件,便于迁移与保存。
一键快速备份QQ空间的说说、日志、日记、相册、视频、留言、好友、收藏、分享、访客为文件,便于迁移与保存。

# 前言概述

Expand All @@ -18,19 +18,19 @@

2、支持备份QQ空间文字日志、图文日志、模板日志,以及评论、点赞、最近访问

3、支持备份QQ空间文字私密日记、图文私密日记,以及评论、点赞、最近访问
3、支持备份QQ空间文字日记、图文日记,以及评论、点赞、最近访问

4、支持备份QQ空间相册/相片,以及相册/相片的评论、相册/相片的点赞、相册的最近访问

5、支持备份QQ空间视频,以及评论、点赞、最近访问

6、支持备份QQ空间留言板寄语与留言、以及留言回复
6、支持备份QQ空间留言寄语与留言、以及留言回复

7、支持备份QQ好友、含好友成立时间、单向好友检测、空间访问权限检测、特别关心的好友等

8、支持备份QQ空间分享内容,以及评论、点赞、最近访问

9、支持备份QQ空间收藏夹内容
9、支持备份QQ空间收藏内容

10、支持备份QQ空间访客,仅支持备份谁访问了我,非全部备份,备份内容的多少,看是不是黄钻

Expand All @@ -50,7 +50,7 @@

6、等待多媒体文件下载完成,多媒体文件将会下载到助手配置的<span style="color:red">下载工具本身所设置的文件夹</span>中,生成<span style="color:red">QQ空间备份_QQ号</span>命名的文件夹

7、合并第5步与第6步中的两个<span style="color:red">QQ空间备份_QQ号命名的文件夹</span>中的,即剪切或复制其中一个所有内容到另外一个即可
7、合并第5步与第6步中的两个<span style="color:red">QQ空间备份_QQ号命名的文件夹</span>中的内容,即剪切或复制其中一个所有内容到另外一个即可

8、打开<span style="color:red">合并后的QQ空间备份_QQ号命名的文件夹</span>中的<span style="color:red">index</span>文件查看备份内容即可

Expand Down Expand Up @@ -104,7 +104,7 @@

![](https://s1.ax1x.com/2022/10/25/xWCrTA.png)

## 留言板预览
## 留言预览

![](https://s1.ax1x.com/2022/10/25/xWC2Sf.png)

Expand Down
29 changes: 29 additions & 0 deletions shell/自动替换离线CDN.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Write-Output "注意事项:"
Write-Output "1、本脚本不会自动下载CDN离线包,请自行到官网下载并解压到:$(Get-Location)\Common"
Write-Output "2、替换前,请确保文案内容压缩包存在,避免替换出错后可重新解压覆盖进行还原。"
Write-Output "3、是否确认替换?确认请按回车,取消请关闭窗口或终止(Ctrl+C)"

pause

Write-Output "开始替换中,请稍候。。。"

# 将当前目录(包括子目录)下的所有HTML文件内容进行替换
Get-ChildItem '*.html' -Recurse | ForEach {
# (Get-Content $_) | ForEach {$_ -Replace 'weekly', 'monthly'} | Set-Content $_
Write-Output "正在替换,文件:$_"
(Get-Content -LiteralPath $_) | ForEach {$_ -Replace 'https://fastly.jsdelivr.net', 'https://cdn.jsdelivr.net' -Replace 'https://cdn.staticfile.org/jquery/3.6.0/', '../Common/vendors/npm/jquery@3.6.0/dist/' -Replace 'https://cdn.staticfile.org/moment.js/2.27.0/moment.min.js', '../Common/vendors/npm/moment@2.27.0/min/moment.min.js' -Replace 'https://cdn.staticfile.org/moment.js/2.27.0/locale/zh-cn.min.js', '../Common/vendors/npm/moment@2.27.0/min/moment-with-locales.min.js' -Replace 'https://cdn.staticfile.org/bootstrap/4.6.1/', '../Common/vendors/npm/bootstrap@4.6.1/dist/' -Replace 'https://cdn.staticfile.org/echarts/5.4.1/echarts.min.js', '../Common/vendors/npm/echarts@5.4.1/echarts.min.js' -Replace 'https://cdn.staticfile.org/lodash.js/4.17.21/', '../Common/vendors/npm/lodash@4.17.21/' -Replace 'https://cdn.staticfile.org/font-awesome/4.7.0/', '../Common/vendors/npm/font-awesome@4.7.0/' -Replace 'https://cdn.staticfile.org/jquery-mousewheel/3.1.13/', '../Common/vendors/npm/jquery-mousewheel@3.1.13/' -Replace 'https://cdn.staticfile.org/lightgallery/2.3.0/', '../Common/vendors/npm/lightgallery@2.3.0/' -Replace 'https://cdn.staticfile.org/jquery_lazyload/2.0.0-rc.2/', '../Common/vendors/npm/lazyload@2.0.0-rc.2/' -Replace 'https://cdn.jsdelivr.net/npm/template_js@2.2.1/', '../Common/vendors/npm/template_js@2.2.1/' -Replace 'https://cdn.staticfile.org/bootstrap-table/1.19.1/', '../Common/vendors/npm/bootstrap-table@1.19.1/dist/' -Replace 'https://www.lvshuncai.com/custom/js/clicklove.min.js', '../Common/vendors/npm/clicklove/clicklove.min.js' -Replace 'https://cdn.jsdelivr.net/gh/', '../Common/vendors/gh/' -Replace 'integrity=".+" crossorigin="anonymous"', ''} | Out-File $_ -Encoding UTF8NoBOM
Write-Output "替换完成,文件:$_"
Write-Output "=========================================================="
}
Write-Output "正在替换,文件:$(Get-Location)\index.html"

# 替换首页文件
$INDEX_PATH = "$(Get-Location)\index.html"

(Get-Content -LiteralPath $INDEX_PATH) -Replace '../Common/vendors', 'Common/vendors' | Out-File index.html -Encoding UTF8NoBOM

Write-Output "替换完成,文件:$INDEX_PATH"

Write-Output "替换完成,按回车退出。。。"

pause
22 changes: 14 additions & 8 deletions src/export/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,14 @@ body {
}

.header {
top: 70px;
position: relative;
text-align: center;
}

#index_html {
margin-top: 70px;
margin-bottom: 56px;
}

.head-info {
margin-top: 15px;
}
Expand Down Expand Up @@ -169,7 +172,7 @@ body {
}


/* 留言板样式 */
/* 留言样式 */

.boards {
top: 40px;
Expand Down Expand Up @@ -693,7 +696,6 @@ pre {
.timeline2-centered .timeline2-entry .timeline2-entry-inner .timeline2-icon {
width: 50px;
height: 50px;
border: 1px solid #eaeaea;
margin-left: 5px;
}

Expand Down Expand Up @@ -1096,17 +1098,17 @@ pre {

/* 好友图标下边距 */


#friends-type-list .list-inline {
margin-bottom: 0.3rem;
margin-left: 4rem;
margin-left: 4rem;
}

#friends-type-list .align-middle.mb-2 > span{
#friends-type-list .align-middle.mb-2>span {
margin-bottom: 0.3rem;
margin-left: 1.5rem !important;
margin-left: 1.5rem !important;
}


/* 评论人内容 */

.comment-text {
Expand Down Expand Up @@ -1549,4 +1551,8 @@ blockquote.source {
.videos .pic-num-wrap {
top: 250px;
}
}

.tooltip-inner {
max-width: 600px !important;
}
Binary file added src/export/images/favicon.ico
Binary file not shown.
6 changes: 5 additions & 1 deletion src/export/js/albums.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ $(function() {
API.Common.registerShowLikeWin(albums);

// 初始化提示
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="tooltip"]').tooltip({
placement: 'auto',
container: 'body',
boundary: 'window'
})

});
2 changes: 1 addition & 1 deletion src/export/js/bloginfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(function() {
// 渲染日志标题
document.title = 'QQ空间备份-' + blog.custom_title;
$("#blog_title").text(blog.custom_title);
$("#blog_time").text(API.Utils.formatDate(blog.pubtime));
$("#blog_time").text(API.Utils.formatDate(blog.lastModifyTime || blog.pubtime));

const $blogHtml = $('<div><div>').html(API.Utils.base64ToUtf8(blog.custom_html));
$('#blog_content').html($blogHtml.html());
Expand Down
2 changes: 1 addition & 1 deletion src/export/js/blogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ API.Blogs.showTableList = function() {
return API.Blogs.getBlogLabel(row).join(',');
}
}, {
field: 'pubtime',
field: 'pubTime',
title: '发布时间',
align: 'center',
width: "150",
Expand Down
Loading

0 comments on commit c497f6b

Please sign in to comment.