diff --git a/image_download.py b/image_download.py index 0d898f4..9dee29c 100644 --- a/image_download.py +++ b/image_download.py @@ -9,7 +9,7 @@ import time from pprint import pprint session = requests.Session() -session.headers.update({'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 OPR/93.0.0.0'}) +session.headers.update({'User-Agent': 'ImageDownloadOcrBot/1.0 (micha9@op.pl)'}) def save_state(index, offset): with open("./state.pickle", "wb") as state_file: