'Download ans save many PDFs files with python

I am trying to download many PDFS fle from a website and save them.

import requests
url = "https://jawdah.qcc.abudhabi.ae/en/Registration/QCCServices/Services/Registration/Trade%20Licenses/"+id+".pdf"
r = requests.get(url, stream= TRUE)
for id in range(1,125):
   with open(id+'.pdf',"wb") as pdf:
      for chunk in r.iter_content(chunk_size=1024):
          if chunk:
              pdf.write(chunk)

THE first url of the pdf is https://jawdah.qcc.abudhabi.ae/en/Registration/QCCServices/Services/Registration/Trade%20Licenses/1.pdf

and the last url is https://jawdah.qcc.abudhabi.ae/en/Registration/QCCServices/Services/Registration/Trade%20Licenses/125.pdf

I want to download all this files. When i execute this code i have this error

Traceback (most recent call last):
  File "c:\Users\king-\OneDrive\Bureau\pdfs\pdfs.py", line 6, in <module>
    url = "https://jawdah.qcc.abudhabi.ae/en/Registration/QCCServices/Services/Registration/Trade%20Licenses/"+id+".pdf"
TypeError: can only concatenate str (not "builtin_function_or_method") to str


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source