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

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

Is there a way to scrape problem statements automatically?

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

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

Using codeforces API — checkout the Problem section.

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

So, a friend of mine looked into it and found out that wget/curl https://mirror.codeforces.com/contest/contestId/problems still works, while the problem with wget/curl https://mirror.codeforces.com/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.