import scrapy
import urllib

class Demo(scrapy.Spider):
  name = 'demo'

  def parse(self, response):
    print(response.body)

  def start_requests(self):
    username = '{PROXY_USERNAME}'
    password = '{API_KEY}'
    url      = 'https://cloudflare.com/cdn-cgi/trace' # Insert your target URL here
    host     = 'isp.joinmassive.com'
    port     = 33080
    proxy    = f'http://{username}:{password}@{host}:{port}'

    yield scrapy.Request(url, callback=self.parse, meta={'proxy': proxy})