Skip to content

Commit

Permalink
🕑更新了作品发布时间数据
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejianxianzun committed Sep 15, 2023
1 parent f22fbf3 commit 397c166
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 15 deletions.
49 changes: 42 additions & 7 deletions dist/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -11483,14 +11483,14 @@ __webpack_require__.r(__webpack_exports__);
// 显示最近更新内容
class ShowWhatIsNew {
constructor() {
this.flag = '16.3.0';
this.flag = '16.3.2';
this.bindEvents();
}
bindEvents() {
window.addEventListener(_EVT__WEBPACK_IMPORTED_MODULE_4__.EVT.list.settingInitialized, () => {
// 消息文本要写在 settingInitialized 事件回调里,否则它们可能会被翻译成错误的语言
let msg = `
<span class="blue">${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_优化性能和用户体验')}</span>
<span class="blue">${_Lang__WEBPACK_IMPORTED_MODULE_0__.lang.transl('_修复已知问题')}</span>
`;
// <strong>${lang.transl('_新增功能')}:</strong>
// <span class="blue">${lang.transl('abc')}</span>
Expand Down Expand Up @@ -15915,7 +15915,8 @@ class InitFollowingPage extends _crawl_InitPageBase__WEBPACK_IMPORTED_MODULE_0__
}
async getUserListComplete() {
_Log__WEBPACK_IMPORTED_MODULE_6__.log.log(_Lang__WEBPACK_IMPORTED_MODULE_2__.lang.transl('_当前有x个用户', this.userList.length.toString()));
if (this.userList.length === 0) {
// 在批量关注用户时,抓取结果为 0 并不影响继续执行
if (this.userList.length === 0 && this.task !== 'batchFollow') {
return this.getIdListFinished();
}
if (this.task === 'exportCSV') {
Expand Down Expand Up @@ -23811,12 +23812,12 @@ class WorkPublishTime {
}
bindEvents() {
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__.secretSignal.register('ppdtask1', () => {
// 上次记录到 111460000
this.crawlData(111270000, 111469542);
// 上次记录到 111740000
this.crawlData(111470000, 111746669);
});
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__.secretSignal.register('ppdtask2', () => {
// 上次记录到 20600000
this.crawlData(20560000, 20606655, 'novels');
// 上次记录到 20660000
this.crawlData(20610000, 20667154, 'novels');
});
}
async crawlData(start, end, type = 'illusts') {
Expand Down Expand Up @@ -31634,6 +31635,12 @@ const novelData = [
[20580000, 1693558804000],
[20590000, 1693667983000],
[20600001, 1693801909000],
[20610000, 1693950411000],
[20620000, 1694100047000],
[20630001, 1694257179000],
[20640000, 1694357698000],
[20650001, 1694519970000],
[20660000, 1694683520000],
];


Expand Down Expand Up @@ -42797,6 +42804,34 @@ const illustsData = [
[111440000, 1693810800000],
[111450000, 1693834920000],
[111460000, 1693869840000],
[111470000, 1693908840000],
[111480000, 1693928340000],
[111490000, 1693974900000],
[111500000, 1694004240000],
[111510001, 1694033880000],
[111520000, 1694077200000],
[111530000, 1694098500000],
[111540000, 1694140200000],
[111550000, 1694171580000],
[111560000, 1694190360000],
[111570000, 1694231460000],
[111580000, 1694257800000],
[111590000, 1694274960000],
[111600000, 1694314080000],
[111610000, 1694338920000],
[111620000, 1694356740000],
[111630001, 1694395140000],
[111640001, 1694430660000],
[111650001, 1694450520000],
[111660000, 1694498580000],
[111670000, 1694524620000],
[111680000, 1694557200000],
[111690000, 1694599680000],
[111700000, 1694619840000],
[111710000, 1694667060000],
[111720000, 1694696520000],
[111730000, 1694729400000],
[111740000, 1694770620000],
];


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.3.1",
"version": "16.3.2",
"manifest_version": 3,
"description": "强大的 Pixiv 批量下载器。Powerful Pixiv batch downloader. 強力な Pixiv ダウンローダー。",
"icons": {
Expand Down
4 changes: 2 additions & 2 deletions src/ts/ShowWhatIsNew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class ShowWhatIsNew {
this.bindEvents()
}

private flag = '16.3.0'
private flag = '16.3.2'

private bindEvents() {
window.addEventListener(EVT.list.settingInitialized, () => {
// 消息文本要写在 settingInitialized 事件回调里,否则它们可能会被翻译成错误的语言
let msg = `
<span class="blue">${lang.transl('_优化性能和用户体验')}</span>
<span class="blue">${lang.transl('_修复已知问题')}</span>
`
// <strong>${lang.transl('_新增功能')}:</strong>
// <span class="blue">${lang.transl('abc')}</span>
Expand Down
8 changes: 4 additions & 4 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', () => {
// 上次记录到 111460000
this.crawlData(111270000, 111469542)
// 上次记录到 111740000
this.crawlData(111470000, 111746669)
})

secretSignal.register('ppdtask2', () => {
// 上次记录到 20600000
this.crawlData(20560000, 20606655, 'novels')
// 上次记录到 20660000
this.crawlData(20610000, 20667154, 'novels')
})
}

Expand Down
28 changes: 28 additions & 0 deletions src/ts/store/WorkPublishTimeIllusts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11146,4 +11146,32 @@ export const illustsData = [
[111440000, 1693810800000],
[111450000, 1693834920000],
[111460000, 1693869840000],
[111470000, 1693908840000],
[111480000, 1693928340000],
[111490000, 1693974900000],
[111500000, 1694004240000],
[111510001, 1694033880000],
[111520000, 1694077200000],
[111530000, 1694098500000],
[111540000, 1694140200000],
[111550000, 1694171580000],
[111560000, 1694190360000],
[111570000, 1694231460000],
[111580000, 1694257800000],
[111590000, 1694274960000],
[111600000, 1694314080000],
[111610000, 1694338920000],
[111620000, 1694356740000],
[111630001, 1694395140000],
[111640001, 1694430660000],
[111650001, 1694450520000],
[111660000, 1694498580000],
[111670000, 1694524620000],
[111680000, 1694557200000],
[111690000, 1694599680000],
[111700000, 1694619840000],
[111710000, 1694667060000],
[111720000, 1694696520000],
[111730000, 1694729400000],
[111740000, 1694770620000],
]
6 changes: 6 additions & 0 deletions src/ts/store/WorkPublishTimeNovels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2060,4 +2060,10 @@ export const novelData = [
[20580000, 1693558804000],
[20590000, 1693667983000],
[20600001, 1693801909000],
[20610000, 1693950411000],
[20620000, 1694100047000],
[20630001, 1694257179000],
[20640000, 1694357698000],
[20650001, 1694519970000],
[20660000, 1694683520000],
]

0 comments on commit 397c166

Please sign in to comment.