code: def detect_platform(self):
          
          platform = Scraper.detect_platform(self)
  
          # On OS X we have to special case the platform detection code and
          # fallback to 64 bit builds for the en-US locale
          if mozinfo.os == 'mac' and self.locale == 'en-US' and \
                  mozinfo.bits == 64:
              platform = "%s%d" % (mozinfo.os, mozinfo.bits)
  
          return platform
docs: Detect the current platform.