online-judge-tools / oj

Tools for various online judges. Downloading sample cases, generating additional test cases, testing your code, and submitting it.
MIT License
1.01k stars 88 forks source link

apply `parse_content` function to another contest #573

Closed kawacchu closed 3 years ago

kawacchu commented 4 years ago

553 was solved by #561 (yukicoder only).

Through this issue, we apply parse_content (in onlinejudge/_implementation/utils.py) to other services.


PROGRESS

kawacchu commented 4 years ago

parse_content is used in scraping only. So services we don't do scraping will be solved automatically in this issue.

kmyk commented 4 years ago

We uses some API for AOJ, HackerRank , CSA and Library Checker, not scraping.

kawacchu commented 4 years ago

@kmyk Thanks! I'll work on from AtCoder.

kawacchu commented 4 years ago

In Anarchy Golf, we can parse sample cases correctly without parse_content.

kawacchu commented 4 years ago

It seems we use API for Facebook Hacker Cup, isn't it?

kmyk commented 4 years ago

We don't use parse_content on FHC. However it's unnecessary because the samples are given via HTTP headers, not HTML, so we can add a check mark for this issue.

kmyk commented 4 years ago

いや、API って utils.parse_content の関数のことでなくて FHC 側が用意している endpoint のことか。それなら利用しています。

kmyk commented 3 years ago

これたぶん大丈夫だと思うので閉じておきます