diff --git a/download.py b/download.py index 3261ab9..10182d5 100644 --- a/download.py +++ b/download.py @@ -15,10 +15,12 @@ import click import coloredlogs import dateutil.relativedelta import requests +import requests.utils import yaspin LOG = logging.getLogger(__name__) +requests.utils.default_user_agent = lambda: "aoc-get by nick@ollien.com" @dataclasses.dataclass class PuzzleDate: