Skip to content

Commit

Permalink
2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jmerle committed Sep 14, 2018
1 parent 9b1483b commit 02ccd65
Show file tree
Hide file tree
Showing 13 changed files with 288 additions and 634 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.3.1 - September 14th, 2018
- Fixed bugs in the HackerRank, ECNU Online Judge, QDUOJ and NYTD Online Judge parsers
- Removed the SUSTech Online Judge parser

# 2.3.0 - September 9th, 2018
- Fixed bugs in the HackerRank, URI Online Judge and Codeforces parsers
- Added parsers for UVa Online Judge, ICPC Live Archive, FZU Online Judge, CSU-ACM Online Judge, Hrbust Online Judge, HIT Online Judge, hihoCoder, ECNU Online Judge, SUSTech Online Judge, QDUOJ and NYTD Online Judge
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ A browser extension which parses programming problems from various online judges
| POJ |||
| QDUOJ |||
| SPOJ || |
| SUSTech Online Judge |||
| Timus |||
| Toph || |
| URI Online Judge |||
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "competitive-companion",
"productName": "Competitive Companion",
"version": "2.3.0",
"version": "2.3.1",
"description": "Parses programming problems and sends them to various tools like CHelper and Hightail.",
"repository": "https://github.com/jmerle/competitive-companion",
"author": "Jasper van Merle",
Expand Down Expand Up @@ -30,31 +30,31 @@
"@types/copy-webpack-plugin": "^4.4.1",
"@types/jest": "^23.3.2",
"@types/jest-environment-puppeteer": "^2.2.1",
"@types/jsdom": "^11.0.6",
"@types/jsdom": "^11.12.0",
"@types/node": "^10.9.4",
"@types/node-fetch": "^2.1.1",
"@types/puppeteer": "^1.6.3",
"@types/puppeteer": "^1.6.4",
"chrome-launch": "^1.1.4",
"concurrently": "^4.0.1",
"copy-webpack-plugin": "^4.5.2",
"cross-env": "^5.2.0",
"husky": "^1.0.0-rc.13",
"jest": "^23.2.0",
"jest": "^23.6.0",
"jest-puppeteer": "^3.3.1",
"jsdom": "^12.0.0",
"lint-staged": "^7.2.2",
"node-fetch": "^2.1.2",
"prettier": "^1.14.2",
"puppeteer": "^1.8.0",
"ts-jest": "^23.1.4",
"ts-loader": "^5.0.0",
"ts-loader": "^5.1.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.0.3",
"web-ext": "^2.9.1",
"web-ext-types": "^2.1.0",
"webpack": "^4.17.2",
"webpack": "^4.19.0",
"webpack-cli": "^3.0.8",
"worker-loader": "^2.0.0"
},
Expand Down
18 changes: 0 additions & 18 deletions src/parsers/contest/SUSTechOnlineJudgeContestParser.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/parsers/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { OldGoogleCodeJamContestParser } from './contest/OldGoogleCodeJamContest
import { PEGJudgeContestParser } from './contest/PEGJudgeContestParser';
import { POJContestParser } from './contest/POJContestParser';
import { QDUOJContestParser } from './contest/QDUOJContestParser';
import { SUSTechOnlineJudgeContestParser } from './contest/SUSTechOnlineJudgeContestParser';
import { TimusOnlineJudgeContestParser } from './contest/TimusOnlineJudgeContestParser';
import { URIOnlineJudgeContestParser } from './contest/URIOnlineJudgeContestParser';
import { Parser } from './Parser';
Expand Down Expand Up @@ -52,7 +51,6 @@ import { PEGJudgeProblemParser } from './problem/PEGJudgeProblemParser';
import { POJProblemParser } from './problem/POJProblemParser';
import { QDUOJProblemParser } from './problem/QDUOJProblemParser';
import { SPOJProblemParser } from './problem/SPOJProblemParser';
import { SUSTechOnlineJudgeProblemParser } from './problem/SUSTechOnlineJudgeProblemParser';
import { TimusOnlineJudgeProblemParser } from './problem/TimusOnlineJudgeProblemParser';
import { TophProblemParser } from './problem/TophProblemParser';
import { URIOnlineJudgeProblemParser } from './problem/URIOnlineJudgeProblemParser';
Expand Down Expand Up @@ -141,9 +139,6 @@ export const parsers: Parser[] = [

new SPOJProblemParser(),

new SUSTechOnlineJudgeProblemParser(),
new SUSTechOnlineJudgeContestParser(),

new TimusOnlineJudgeProblemParser(),
new TimusOnlineJudgeContestParser(),

Expand Down
2 changes: 1 addition & 1 deletion src/parsers/problem/ECNUOnlineJudgeProblemParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ECNUOnlineJudgeProblemParser extends Parser {
const elem = htmlToElement(html);
const task = new TaskBuilder().setUrl(url);

if (elem.querySelector('.item.active[href="/contest/"]')) {
if (elem.querySelector('a.active.item[href^="/contest/"]')) {
const contest = elem.querySelector('.ui.header').textContent;

task.setName(elem.querySelector('div.ui.header').textContent);
Expand Down
37 changes: 0 additions & 37 deletions src/parsers/problem/SUSTechOnlineJudgeProblemParser.ts

This file was deleted.

Loading

0 comments on commit 02ccd65

Please sign in to comment.