Fix media url in get_media script.