Skip to content

Commit

Permalink
fix judge name in LanqiaoProblemParser
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurrr committed Apr 8, 2024
1 parent 62b4d16 commit 1265554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/problem/LanqiaoProblemParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class LanqiaoProblemParser extends Parser {

public async parse(url: string, html: string): Promise<Sendable> {
const doc = htmlToElement(html);
const task = new TaskBuilder('Some OJ').setUrl(url);
const task = new TaskBuilder('Lanqiao').setUrl(url);

const title = doc.querySelector('.course-name').textContent;
task.setName(title.replace(/\s+/g, ' ').trim());
Expand Down

0 comments on commit 1265554

Please sign in to comment.