title: Fixie: Static IP Address with Heroku
body: <p>I have a web scraping app hosted by heroku. I always get 403 errors on heroku, but page works fine if I run the code locally. I assume this error is due to Heroku dynamic ip. I installed Fixie and I want the spider to send requests from a static address. How to do it?</p>
  
  <p>spider:</p>
  
  <pre><code>yield scrapy.Request('https://www.ratemds.com/best-doctors/?specialty=%s' % specialty, callback=self.profile_link, 
                                      headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.50747 OPRGX/60.0.3255.50747"},
                                      meta={"proxy": "http://fixie:XkWpxhGyIgZq454@velodrome.usefixie.com:80"})
  </code></pre>
  
  <p>Heroku CLI:</p>
  
  <pre><code>E:\Python\heroku3&gt;heroku config:get FIXIE_URL
  http://fixie:XkWpxhGyIgZq454@velodrome.usefixie.com:80
  </code></pre>