Add contact info to user agent
parent
0ab6b505d6
commit
2858395e48
|
@ -15,10 +15,12 @@ import click
|
||||||
import coloredlogs
|
import coloredlogs
|
||||||
import dateutil.relativedelta
|
import dateutil.relativedelta
|
||||||
import requests
|
import requests
|
||||||
|
import requests.utils
|
||||||
import yaspin
|
import yaspin
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
requests.utils.default_user_agent = lambda: "aoc-get by nick@ollien.com"
|
||||||
|
|
||||||
@dataclasses.dataclass
|
@dataclasses.dataclass
|
||||||
class PuzzleDate:
|
class PuzzleDate:
|
||||||
|
|
Loading…
Reference in New Issue