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

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

Recently, I attempted to upload my old accepted submissions to GitHub—over 800 in total—so I decided to use a web scraper to streamline the process. I followed a project referenced in this blog, but it was blocked by Cloudflare's anti-bot captcha.

It seems Codeforces recently upgraded its security to prevent AI scrapers and mitigate DOS attacks.

My question is: Is there a way to download all my submissions from Codeforces without having to do it manually, one by one?

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

»
4 недели назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится
  • »
    »
    4 недели назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    That's just the status not the code (it describes my submissions, its status and metadata), I want my actual submission code. In the blog I mentioned there, that link is used to know which submission to fetch. but fetching the actual submission is what is protected by cf's cloudflare.

    • »
      »
      »
      7 часов назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится

      did you find a solution for that ?