snakefoot's blog

By snakefoot, history, 4 weeks ago, In English

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?

  • Vote: I like it
  • +11
  • Vote: I do not like it

»
4 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it
  • »
    »
    4 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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.

    • »
      »
      »
      3 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      did you find a solution for that ?