Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AtCoder新サイトに対応 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ehafib
Copy link

@ehafib ehafib commented Sep 3, 2021

概要

これまで、AtCoderのコンテストページにはhttps://<contest-name>.contest.atcoder.jp のようなURLの旧サイトと、https://atcoder.jp/contests/<contest-name>/のようなURLの新サイト(昔でいうところのβ版?)の2つが存在していました。
しかし、いつの間にか前者は廃止されていました。
現在のatcoder-clar2slackは前者にのみ対応しているため、後者のみに対応するように変更しました。
動作確認済みです。

詳細

  • ログイン処理
    • 認証時にCSRF tokenを送信する必要があり、これに対応しました。
  • clar.htmlのparse
    • 色々と少しずつ変わっていたので対応しました。
    • read_clar.pyでCONTEST_URLを使う必要がなくなったため、消しました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant