mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview' of https://github.com/the1812/Bilibili-Evolved into preview
This commit is contained in:
commit
aeeaec67bb
@ -7,7 +7,7 @@ export interface Blackboard {
|
|||||||
export const getBlackboards = async (): Promise<Blackboard[]> => {
|
export const getBlackboards = async (): Promise<Blackboard[]> => {
|
||||||
if (dq('.international-home')) {
|
if (dq('.international-home')) {
|
||||||
const initData = await SpinQuery.condition(() => unsafeWindow['__INITIAL_STATE__'], it => it !== undefined)
|
const initData = await SpinQuery.condition(() => unsafeWindow['__INITIAL_STATE__'], it => it !== undefined)
|
||||||
return dqa('.home-slide .item')
|
return dqa('.first-screen .home-slide .item')
|
||||||
.slice(0, 5)
|
.slice(0, 5)
|
||||||
.map((it, index) => {
|
.map((it, index) => {
|
||||||
const locID = it.querySelector('a')!.getAttribute('data-loc-id')!
|
const locID = it.querySelector('a')!.getAttribute('data-loc-id')!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user