fix: MIDI or PDF download not working (#107)
This commit is contained in:
parent
d014ade9ca
commit
49fcb99160
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ const getApiAuth = async (type: FileType, index: number): Promise<string> => {
|
|||
// force to retrieve the MAGIC
|
||||
switch (type) {
|
||||
case 'midi': {
|
||||
const el = document.querySelectorAll('.SD7H- > button')[3] as HTMLButtonElement
|
||||
const el = document.querySelectorAll('.uPjTb > button')[3] as HTMLButtonElement
|
||||
el.click()
|
||||
break
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ export class SheetInfoInPage extends SheetInfo {
|
|||
constructor (private document: Document) { super() }
|
||||
|
||||
get pageCount (): number {
|
||||
return this.document.querySelectorAll('.gXB83').length
|
||||
return this.document.querySelectorAll('._2uWw4').length
|
||||
}
|
||||
|
||||
get thumbnailUrl (): string {
|
||||
|
|
Loading…
Reference in a new issue