X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/1e86dcaaf369d3d89f25437443d0905044216723..131deef1eba442d6e05c2ff6c6f7669b4b9e2b24:/fetch.py?ds=sidebyside diff --git a/fetch.py b/fetch.py index 151e2a9..e998394 100644 --- a/fetch.py +++ b/fetch.py @@ -13,9 +13,11 @@ from typing import IO, Iterator import requests import requests_cache +from version import paperdoorknob_version -_headers = { - 'User-Agent': 'paperdoorknob/0.0.1 (https://git.scottworley.com/paperdoorknob/)'} + +_headers = {'User-Agent': f'paperdoorknob/{paperdoorknob_version} ' + + '(https://git.scottworley.com/paperdoorknob/)'} class Fetcher(ABC):