Popraw żądanie Zmiana użytkownika-agenta

import requests 
 
url = 'https://www.codegrepper.com/'
 
headers = {
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36'
}
 
response = requests.get(url, headers=headers)
print(response)
Outrageous Ostrich