Блог пользователя TheeLooser

Автор TheeLooser, история, 5 лет назад, По-английски

Is there a way to scrape problem statements automatically?

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Using codeforces API — checkout the Problem section.

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

So, a friend of mine looked into it and found out that wget/curl https://codeforces.me/contest/contestId/problems still works, while the problem with wget/curl https://codeforces.me/problemset/problem/contestId/index is that it just gives the preload HTML. So, scraping contest psets instead of individual problems is an alternative. Thanks for your comments.