Skip to content

Commit

Permalink
Fixed lack of thumbnail update in t.bilibili.com
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxuan010 committed Nov 16, 2024
1 parent 8806d09 commit 11bf235
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/thumbnail-utils/thumbnail-selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ const thumbnailSelectors: { [key: string]: ThumbnailSelector } = {
thumbnailSelector: ".small-item",
},
"dynamic": {
// 动态页面
// 动态首页页面
containerSelector: "section:has(.bili-dyn-list)",
thumbnailSelector: ".bili-dyn-content",
},
"channelDynamic": {
// 用户空间动态
containerSelector: ".bili-dyn-list",
thumbnailSelector: ".bili-dyn-content",
},
Expand All @@ -76,7 +81,7 @@ const pageTypeSepecialSelector: { [key in PageType]: string[] } = {
[PageType.List]: ["listPlayerSideRecommendation", "listPlayerListCard"],
[PageType.Search]: ["search"],
[PageType.Dynamic]: ["dynamic"],
[PageType.Channel]: ["spaceMain", "spaceUpload", "dynamic"],
[PageType.Channel]: ["spaceMain", "spaceUpload", "channelDynamic"],
[PageType.Message]: [],
[PageType.Manga]: [],
[PageType.Anime]: [],
Expand Down

0 comments on commit 11bf235

Please sign in to comment.