import os
import requests
urls = [
'https://www.noor-book.com/book/review/577461'
]
assa = '.\Outputs'
for url in urls:
responste = requests.get(url)
if responste.status_code == 20:
file_path = os.path.join(assa, os.path.basename(url))
with open(file_path, 'wb') as f:
f.write(responste.content)
لم يتنفذ لي ان ينزل كتاب(pdf) من المتصفح google chrome in python