We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34efe2 commit 92a6837Copy full SHA for 92a6837
atcoder-problems-backend/src/bin/crawl_whole_contest.rs
@@ -17,9 +17,7 @@ async fn main() -> Result<()> {
17
.nth(1)
18
.expect("contest_id is not set.\nUsage: cargo run --bin crawl_whole_contest <contest_id>");
19
let db = initialize_pool(&url).await?;
20
- let client = AtCoderClient::new(&username, &password)
21
- .await
22
- .expect("AtCoder authentication failure");
+ let client = AtCoderClient::new(&username, &password).await?;
23
let crawler = WholeContestCrawler::new(db, client, contest_id);
24
crawler.crawl().await?;
25
Ok(())
0 commit comments