Skip to content

Commit

Permalink
🕑更新了作品发布时间数据
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejianxianzun committed Mar 22, 2024
1 parent c301bfc commit 2993bce
Show file tree
Hide file tree
Showing 10 changed files with 178 additions and 26 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ TODO:日语文本需要加粗显示关键字,但是我不懂日语,所以现

上个版本里处理 HTML 转义字符时用了个新函数 `htmlDecode`,小说简介也用这个函数处理了,但是这个函数返回的值是 html 5 规范的,所以简介里原本的 `<br/>` 变成了 `<br>`,导致 epub 格式出错。后处理一下就修复了。但是这个 bug 在之前确实没有预料到。epub 格式只能用 html 4,太烦了。

### 🕑更新了作品发布时间数据

## 16.8.0 2024/02/29

### ✨新增功能:导出和导入收藏列表
Expand Down
97 changes: 86 additions & 11 deletions dist/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -12176,20 +12176,14 @@ __webpack_require__.r(__webpack_exports__);
// 显示最近更新内容
class ShowWhatIsNew {
constructor() {
this.flag = '16.8.0';
this.flag = '16.8.1';
this.bindEvents();
}
bindEvents() {
window.addEventListener(_EVT__WEBPACK_IMPORTED_MODULE_4__.EVT.list.settingInitialized, () => {
// 消息文本要写在 settingInitialized 事件回调里,否则它们可能会被翻译成错误的语言
let msg = `
<strong>${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_新增功能')}:</strong>
<br>
<span>${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_同步收藏列表的说明')}</span>

<br>
<br>
<span>${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_其他优化')}</span>
<span>${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_修复bug')}</span>
`;
// ${lang.transl(
// '_你可以在更多选项卡的xx分类里找到它',
Expand Down Expand Up @@ -24869,12 +24863,12 @@ class WorkPublishTime {
}
bindEvents() {
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__.secretSignal.register('ppdtask1', () => {
// 上次记录到 116480000
this.crawlData(115670000, 116482395);
// 上次记录到 117140000
this.crawlData(116490000, 117146184);
});
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__.secretSignal.register('ppdtask2', () => {
// 上次记录到 21670000
this.crawlData(21500000, 21679349, 'novels');
this.crawlData(21680000, 21825808, 'novels');
});
}
async crawlData(start, end, type = 'illusts') {
Expand Down Expand Up @@ -32983,6 +32977,21 @@ const novelData = [
[21650000, 1708777893000],
[21660000, 1708872340000],
[21670000, 1709024108000],
[21680000, 1709164529000],
[21690001, 1709297573000],
[21700000, 1709421870000],
[21710000, 1709542096000],
[21720000, 1709689064000],
[21730000, 1709820201000],
[21740000, 1709966185000],
[21750001, 1710073580000],
[21760001, 1710216347000],
[21770000, 1710342745000],
[21780000, 1710489002000],
[21790000, 1710601771000],
[21800000, 1710729269000],
[21810000, 1710862791000],
[21820000, 1711011101000],
];


Expand Down Expand Up @@ -44648,6 +44657,72 @@ const illustsData = [
[116460000, 1709081940000],
[116470000, 1709116980000],
[116480000, 1709135400000],
[116490000, 1709179620000],
[116500001, 1709207520000],
[116510000, 1709223960000],
[116520001, 1709268600000],
[116530000, 1709295300000],
[116540000, 1709316240000],
[116550000, 1709356620000],
[116560000, 1709380560000],
[116570000, 1709397960000],
[116580000, 1709436360000],
[116590002, 1709459100000],
[116600000, 1709474820000],
[116610000, 1709507220000],
[116620000, 1709545200000],
[116630000, 1709564460000],
[116640000, 1709605080000],
[116650000, 1709637540000],
[116660001, 1709656200000],
[116670000, 1709702280000],
[116680000, 1709728500000],
[116690000, 1709752920000],
[116700000, 1709798340000],
[116710000, 1709820060000],
[116720000, 1709855280000],
[116730000, 1709891520000],
[116740000, 1709909820000],
[116750000, 1709942580000],
[116760000, 1709971380000],
[116770000, 1709989800000],
[116780000, 1710010860000],
[116790000, 1710045540000],
[116800000, 1710067380000],
[116810000, 1710082800000],
[116820000, 1710121440000],
[116830000, 1710154260000],
[116840000, 1710172140000],
[116850000, 1710216840000],
[116860000, 1710244920000],
[116870000, 1710265200000],
[116880000, 1710312540000],
[116890000, 1710336180000],
[116900000, 1710363600000],
[116910002, 1710404460000],
[116920001, 1710423840000],
[116930000, 1710454020000],
[116940000, 1710493320000],
[116950000, 1710511860000],
[116960000, 1710544560000],
[116970000, 1710575760000],
[116980000, 1710595560000],
[116990000, 1710623040000],
[117000000, 1710656400000],
[117010000, 1710676800000],
[117020000, 1710692940000],
[117030000, 1710737160000],
[117040000, 1710764700000],
[117050000, 1710787680000],
[117060000, 1710833340000],
[117070000, 1710856320000],
[117080000, 1710889440000],
[117090000, 1710921900000],
[117100000, 1710941580000],
[117110000, 1710972240000],
[117120000, 1711012680000],
[117130000, 1711033140000],
[117140000, 1711074300000],
];


Expand Down
2 changes: 1 addition & 1 deletion dist/js/content.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Powerful Pixiv Downloader",
"version": "16.8.0",
"version": "16.8.1",
"manifest_version": 3,
"description": "强大的 Pixiv 批量下载器。Powerful Pixiv batch downloader. 強力な Pixiv ダウンローダー。",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerful-pixiv-downloader",
"version": "16.8.0",
"version": "16.8.1",
"description": "强大的 Pixiv 批量下载器。Powerful Pixiv batch downloader. 強力な Pixiv ダウンローダー。",
"repository": "https://github.com/xuejianxianzun/PixivBatchDownloader",
"author": "xuejianxianzun",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Powerful Pixiv Downloader",
"version": "16.8.0",
"version": "16.8.1",
"manifest_version": 3,
"description": "强大的 Pixiv 批量下载器。Powerful Pixiv batch downloader. 強力な Pixiv ダウンローダー。",
"icons": {
Expand Down
10 changes: 2 additions & 8 deletions src/ts/ShowWhatIsNew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,13 @@ class ShowWhatIsNew {
this.bindEvents()
}

private flag = '16.8.0'
private flag = '16.8.1'

private bindEvents() {
window.addEventListener(EVT.list.settingInitialized, () => {
// 消息文本要写在 settingInitialized 事件回调里,否则它们可能会被翻译成错误的语言
let msg = `
<strong>${lang.transl('_新增功能')}:</strong>
<br>
<span>${lang.transl('_同步收藏列表的说明')}</span>
<br>
<br>
<span>${lang.transl('_其他优化')}</span>
<span>${lang.transl('_修复bug')}</span>
`
// ${lang.transl(
// '_你可以在更多选项卡的xx分类里找到它',
Expand Down
6 changes: 3 additions & 3 deletions src/ts/filter/WorkPublishTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ class WorkPublishTime {

private bindEvents() {
secretSignal.register('ppdtask1', () => {
// 上次记录到 116480000
this.crawlData(115670000, 116482395)
// 上次记录到 117140000
this.crawlData(116490000, 117146184)
})

secretSignal.register('ppdtask2', () => {
// 上次记录到 21670000
this.crawlData(21500000, 21679349, 'novels')
this.crawlData(21680000, 21825808, 'novels')
})
}

Expand Down
66 changes: 66 additions & 0 deletions src/ts/store/WorkPublishTimeIllusts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11648,4 +11648,70 @@ export const illustsData = [
[116460000, 1709081940000],
[116470000, 1709116980000],
[116480000, 1709135400000],
[116490000, 1709179620000],
[116500001, 1709207520000],
[116510000, 1709223960000],
[116520001, 1709268600000],
[116530000, 1709295300000],
[116540000, 1709316240000],
[116550000, 1709356620000],
[116560000, 1709380560000],
[116570000, 1709397960000],
[116580000, 1709436360000],
[116590002, 1709459100000],
[116600000, 1709474820000],
[116610000, 1709507220000],
[116620000, 1709545200000],
[116630000, 1709564460000],
[116640000, 1709605080000],
[116650000, 1709637540000],
[116660001, 1709656200000],
[116670000, 1709702280000],
[116680000, 1709728500000],
[116690000, 1709752920000],
[116700000, 1709798340000],
[116710000, 1709820060000],
[116720000, 1709855280000],
[116730000, 1709891520000],
[116740000, 1709909820000],
[116750000, 1709942580000],
[116760000, 1709971380000],
[116770000, 1709989800000],
[116780000, 1710010860000],
[116790000, 1710045540000],
[116800000, 1710067380000],
[116810000, 1710082800000],
[116820000, 1710121440000],
[116830000, 1710154260000],
[116840000, 1710172140000],
[116850000, 1710216840000],
[116860000, 1710244920000],
[116870000, 1710265200000],
[116880000, 1710312540000],
[116890000, 1710336180000],
[116900000, 1710363600000],
[116910002, 1710404460000],
[116920001, 1710423840000],
[116930000, 1710454020000],
[116940000, 1710493320000],
[116950000, 1710511860000],
[116960000, 1710544560000],
[116970000, 1710575760000],
[116980000, 1710595560000],
[116990000, 1710623040000],
[117000000, 1710656400000],
[117010000, 1710676800000],
[117020000, 1710692940000],
[117030000, 1710737160000],
[117040000, 1710764700000],
[117050000, 1710787680000],
[117060000, 1710833340000],
[117070000, 1710856320000],
[117080000, 1710889440000],
[117090000, 1710921900000],
[117100000, 1710941580000],
[117110000, 1710972240000],
[117120000, 1711012680000],
[117130000, 1711033140000],
[117140000, 1711074300000],
]
15 changes: 15 additions & 0 deletions src/ts/store/WorkPublishTimeNovels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2167,4 +2167,19 @@ export const novelData = [
[21650000, 1708777893000],
[21660000, 1708872340000],
[21670000, 1709024108000],
[21680000, 1709164529000],
[21690001, 1709297573000],
[21700000, 1709421870000],
[21710000, 1709542096000],
[21720000, 1709689064000],
[21730000, 1709820201000],
[21740000, 1709966185000],
[21750001, 1710073580000],
[21760001, 1710216347000],
[21770000, 1710342745000],
[21780000, 1710489002000],
[21790000, 1710601771000],
[21800000, 1710729269000],
[21810000, 1710862791000],
[21820000, 1711011101000],
]

0 comments on commit 2993bce

Please sign in to comment.