media url parsing is now in api call