Skip to content

Commit

Permalink
🕑更新了作品发布时间数据
Browse files Browse the repository at this point in the history
  • Loading branch information
xuejianxianzun committed Feb 25, 2023
1 parent 95784df commit c997c66
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 10 deletions.
31 changes: 29 additions & 2 deletions dist/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -21808,10 +21808,10 @@ class WorkPublishTime {
}
bindEvents() {
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__["secretSignal"].register('ppdtask1', () => {
this.crawlData(105160000, 105494610);
this.crawlData(105500000, 105717364);
});
_utils_SecretSignal__WEBPACK_IMPORTED_MODULE_1__["secretSignal"].register('ppdtask2', () => {
this.crawlData(19260000, 19328605, 'novels');
this.crawlData(19330000, 19379190, 'novels');
});
}
async crawlData(start, end, type = 'illusts') {
Expand Down Expand Up @@ -29246,6 +29246,11 @@ const novelData = [
[19300000, 1676339631000],
[19310001, 1676450914000],
[19320000, 1676596485000],
[19330000, 1676726295000],
[19340000, 1676824763000],
[19350000, 1676985136000],
[19360000, 1677125230000],
[19370001, 1677247234000],
];


Expand Down Expand Up @@ -39812,6 +39817,28 @@ const illustsData = [
[105470000, 1676639400000],
[105480000, 1676666880000],
[105490000, 1676704980000],
[105500000, 1676726100000],
[105510000, 1676749800000],
[105520000, 1676785860000],
[105530000, 1676807280000],
[105540000, 1676822100000],
[105550000, 1676867460000],
[105560000, 1676895900000],
[105570000, 1676917800000],
[105580000, 1676964120000],
[105590000, 1676987460000],
[105600000, 1677019320000],
[105610000, 1677056400000],
[105620000, 1677074880000],
[105630000, 1677107340000],
[105640000, 1677140760000],
[105650000, 1677160500000],
[105660001, 1677190980000],
[105670001, 1677230340000],
[105680000, 1677250140000],
[105690000, 1677286440000],
[105700000, 1677315960000],
[105710000, 1677334920000],
];


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": "15.3.1",
"version": "15.3.2",
"manifest_version": 3,
"description": "强大的 Pixiv 批量下载器。Powerful Pixiv batch downloader. 強力な Pixiv ダウンローダー。",
"icons": {
Expand Down
4 changes: 2 additions & 2 deletions notes/抓取作品的发布时间数据.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@

当前下载器所记录的最新数据:

- 图像作品记录的最后一个作品是 105490000
- 小说作品记录的最后一个作品是 19320000
- 图像作品记录的最后一个作品是 105710000
- 小说作品记录的最后一个作品是 19370001

后面每过一定时间,下载器需要对新增的作品进行抓取,把它们的发布时间数据追加到数据源里。

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

private bindEvents() {
secretSignal.register('ppdtask1', () => {
this.crawlData(105160000, 105494610)
this.crawlData(105500000, 105717364)
})

secretSignal.register('ppdtask2', () => {
this.crawlData(19260000, 19328605, 'novels')
this.crawlData(19330000, 19379190, 'novels')
})
}

Expand Down
22 changes: 22 additions & 0 deletions src/ts/store/WorkPublishTimeIllusts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10549,4 +10549,26 @@ export const illustsData = [
[105470000, 1676639400000],
[105480000, 1676666880000],
[105490000, 1676704980000],
[105500000, 1676726100000],
[105510000, 1676749800000],
[105520000, 1676785860000],
[105530000, 1676807280000],
[105540000, 1676822100000],
[105550000, 1676867460000],
[105560000, 1676895900000],
[105570000, 1676917800000],
[105580000, 1676964120000],
[105590000, 1676987460000],
[105600000, 1677019320000],
[105610000, 1677056400000],
[105620000, 1677074880000],
[105630000, 1677107340000],
[105640000, 1677140760000],
[105650000, 1677160500000],
[105660001, 1677190980000],
[105670001, 1677230340000],
[105680000, 1677250140000],
[105690000, 1677286440000],
[105700000, 1677315960000],
[105710000, 1677334920000],
]
5 changes: 5 additions & 0 deletions src/ts/store/WorkPublishTimeNovels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1932,4 +1932,9 @@ export const novelData = [
[19300000, 1676339631000],
[19310001, 1676450914000],
[19320000, 1676596485000],
[19330000, 1676726295000],
[19340000, 1676824763000],
[19350000, 1676985136000],
[19360000, 1677125230000],
[19370001, 1677247234000],
]

0 comments on commit c997c66

Please sign in to comment.