X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/1e86dcaaf369d3d89f25437443d0905044216723..4640c55a74e31de7f7ddde379e9c564c184bc820:/fetch.py?ds=inline 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):