I have been trying to download file from this URL using given code but getting following error: HTTPError: HTTP Error 403: Forbidden. Further how can I download multiple files by changing url from */2020/SCBSEALL0207.zip to */2020/SCBSEALL0101.zip
import requests
url = 'https://www.bseindia.com/BSEDATA/gross/2020/SCBSEALL0207.zip'
r = requests.get(url)
with open("Bse_20200702", "wb") as code:
code.write(r.content)
urllib.request.urlretrieve(url, "Bse_20200702.zip")```