I built a small app to help me in some daily work tasks, the app can extract some html data from a website and process this data according to my needs. The issue is that the website requires authentication and the cookies expires every hour, so I have to extract the cookies again from the browser and put it into my code in the http requests every time. Is there an alternative way to get the cookie through the http request?
Note: the website only authenticate through otp
Note2: the session remains active but the cookie expires