Skip to content

Commit b0c0bf8

Browse files
authored
fix: leetcode question query selector (#8)
1 parent afe31dc commit b0c0bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Content/modules/leetcode-dom/leetcode-dom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class LeetCodeDOM {
6969

7070
getQuestion(): string {
7171
return this.getTextContent(
72-
'div[data-track-load="qd_description_content"]'
72+
'div[data-track-load="description_content"]'
7373
)?.split('Example 1')[0];
7474
}
7575

0 commit comments

Comments
 (0)