Answers.Body: <p>Check out the <code>cleanAssetUrls</code> configuration added just for you!</p>
  
  <p><a href="http://sgroup.com.au/plugins/feedme/getting-started/configuration" rel="nofollow noreferrer">http://sgroup.com.au/plugins/feedme/getting-started/configuration</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-04T11:55:37.810Z
Answers.LastActivityDate: 2016-11-04T11:55:37.810Z
Answers.UserDisplayName: crawf
Body: <p>I'm trying out the new FeedMe plugin v2 beta 1 and am trying to download my recent photos posted on Instagram via the Instagram API. It appears Instagram is appending a cache parameters to the end of image URLs so when I try to download the images to a CraftCMS Assets folder Craft doesn't allow me to as it's not an allowed file extension. </p>
  
  <p>The specific example is:</p>
  
  <p>Instagram Request to get recent posts:
  <a href="https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN" rel="nofollow noreferrer">https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN</a></p>
  
  <p>example URL for image returned:
  somepic_n.jpg?ig_cache_key=hghhh....</p>
  
  <p>Does anyone have any bright ideas how to handle this so I can download the images at the URLs or some option / feature then could be incorporated into the plugin to remove querystrings from the end of asset urls?</p>
  
  <p>Thanks</p>
  
Tags: <plugin-feedme>
Title: Craft CMS FeedMe plugin - Process Instagram JSON Feed
ThreadText: # Craft CMS FeedMe plugin - Process Instagram JSON Feed
  
  (Asked by: username_0 on 2016-11-04)
  
  I'm trying out the new FeedMe plugin v2 beta 1 and am trying to download my recent photos posted on Instagram via the Instagram API. It appears Instagram is appending a cache parameters to the end of image URLs so when I try to download the images to a CraftCMS Assets folder Craft doesn't allow me to as it's not an allowed file extension.
  
  The specific example is:
  
  Instagram Request to get recent posts:
  <https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN>
  
  example URL for image returned:
  somepic\_n.jpg?ig\_cache\_key=hghhh....
  
  Does anyone have any bright ideas how to handle this so I can download the images at the URLs or some option / feature then could be incorporated into the plugin to remove querystrings from the end of asset urls?
  
  Thanks
  
  **Tags:** plugin-feedme
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-04. Score: 3 | Accepted answer
  
  Check out the `cleanAssetUrls` configuration added just for you!
  
  <http://sgroup.com.au/plugins/feedme/getting-started/configuration>
  
  
  ---
  
  