'Python Webscraping Cloudfire bypass

I'm trying to use python requests to scrape the output of this endpoint but I keep getting the 403 forbidden message returned and it appears to re-direct to the Cloudfire captcha which is what is causing it. Code is very simple

url = 'https://api-mainnet.magiceden.io/all_collections'
headers = {
    'User-Agent': 'Mozilla/5.0'
}
page = requests.get(url, headers=headers)
print(page.text)

have tried every variation of headers to get this working but no joy



Sources

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

Source: Stack Overflow

Solution Source