code: func (inst *Instagram) Export(path string) error {
  	url, err := neturl.Parse(goInstaAPIUrl)
  	if err != nil {
  		return err
  	}
  
  	config := ConfigFile{
  		ID:        inst.Account.ID,
  		User:      inst.user,
  		DeviceID:  inst.dID,
  		UUID:      inst.uuid,
  		RankToken: inst.rankToken,
  		Token:     inst.token,
  		PhoneID:   inst.pid,
  		Cookies:   inst.c.Jar.Cookies(url),
  	}
  	bytes, err := json.Marshal(config)
  	if err != nil {
  		return err
  	}
  
  	return ioutil.WriteFile(path, bytes, 0644)
  }
docs: // Export exports *Instagram object options