From ef100176312802c9399785ad821cfdca32074f6a Mon Sep 17 00:00:00 2001 From: Alexander Dunkel <alexander.dunkel@tu-dresden.de> Date: Thu, 8 Feb 2024 08:30:21 +0100 Subject: [PATCH] Update HEADER --- py/modules/tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py/modules/tools.py b/py/modules/tools.py index 5d43e20..10f496d 100644 --- a/py/modules/tools.py +++ b/py/modules/tools.py @@ -14,12 +14,13 @@ from IPython.display import clear_output from typing import List, Optional, Dict from IPython.display import display, HTML -DEFAULT_USER_AGENT: str = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36' +DEFAULT_USER_AGENT: str = 'iphone_ua' HEADER = {'User-Agent':DEFAULT_USER_AGENT, 'Cache-Control': 'no-cache', "Pragma": "no-cache", - "Connection": "close"} + "Connection": "close", + "x-ig-app-id":"936619743392459"} BASE_URL = 'https://cloudstore.zih.tu-dresden.de/index.php/s/' -- GitLab