diff --git a/src/you_get/extractors/instagram.py b/src/you_get/extractors/instagram.py index 23c36e21..907eda2c 100644 --- a/src/you_get/extractors/instagram.py +++ b/src/you_get/extractors/instagram.py @@ -20,8 +20,9 @@ def instagram_download(url, output_dir='.', merge=True, info_only=False, **kwarg _, _, size = url_info(image) print_info(site_info, title, ext, size) + url = stream if stream else image if not info_only: - download_urls([image], title, ext, size, output_dir, merge=merge) + download_urls([url], title, ext, size, output_dir, merge=merge) site_info = "Instagram.com" download = instagram_download