ayushi7rawat / CoWin-Vaccine-Notifier

Automated Python Script to retrieve vaccine slots availability and get notified when a slot is available.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requested URL not working

karshad928 opened this issue · comments

getting 'InsecureRequestWarning: Unverified HTTPS request is being made to host' exception while requesting below URL

URL = "https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByPin?pincode={}&date={}".format(pincode, given_date)
header = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36'}