Codeforces/make_contest.sh
Matej Focko 21a5ae826a
chore: support downloading multiple contests
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-07-10 11:59:21 +02:00

11 lines
179 B
Bash

#!/bin/sh
function get_contest() {
mkdir $1
curl -Lk https://codeforces.com/contest/$1/problems -o $1/index.html
}
for contest in "$@"
do
get_contest $contest;
done