mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.86k stars 975 forks source link

INSTAGRAM Profile picture download #1097

Closed 54m4d closed 2 years ago

54m4d commented 4 years ago

Hello!

Can you please add support for downloading profile pictures and in Hi-Res?

The high-res images require an API and require the user to log in, log in is already supported by gallery-dl so we only need an API.

gallery-dl is much better compared to instaloader.

Thanks!

iamleot commented 4 years ago

JFTR this is probably a duplicate of #941.

54m4d commented 4 years ago

Says nothing about the profile pics

iamleot commented 4 years ago

@fosam Yeah, but it contains some information regarding the high-res support for pictures.

iamleot commented 4 years ago

@fosam If you can please adjust the title just for the profile picture... However, do you know if there is any possible endpoint for it? (i.e. how would it be retrieved via URL?)

54m4d commented 4 years ago

do you know if there is any possible endpoint for it? (i.e. how would it be retrieved via URL?)

Endpoint for what? not sure what you are referring to?

iamleot commented 4 years ago

fosam writes:

do you know if there is any possible endpoint for it? (i.e. how would it be retrieved via URL?)

Endpoint for what? not sure what you are referring to?

From a user point of view, how would you imagine to download the profile image? (e.g. `gallery-dl https://www.instagram.com/' is for the

's timeline, `gallery-dl https://www.instagram.com/stories//' for 's stories and so on)
mikf commented 4 years ago

I'd add an avatar option, like pixiv and tumblr already have, and include the profile image before anything else when downloading from a user timeline. Don't know if this is any good, but that's how it is done for other sites.

54m4d commented 4 years ago

Or that the profile pic will be included when downloading a user?

Example: gallery-dl https://www.instagram.com/toni.kr8s/ should include the profile pic

Also, does gallery-dl support stories and highlights?

Thanks guys, the web is useless without this great extension, that's why we are all working together to make it even better for everyone, everyday 👍

mikf commented 2 years ago

Example: gallery-dl https://www.instagram.com/toni.kr8s/ should include the profile pic

Use the include option, or https://www.instagram.com/toni.kr8s/avatar as URL.

ForxBase commented 2 months ago

could you please explain how the line should be if I want the avatar to be added to the downloads?

Hrxn commented 2 months ago

Here, the line starting with "include"

{
    "extractor":
    {
        "instagram":
        {
            "include": ["stories", "highlights", "posts", "avatar"],

            "api": "rest",
            "previews": false,
            "sleep-request": [6.0, 12.0],
            "videos": true,

            "cookies": null
        }

    },

    "downloader":
    {
    },
    "output":
    {
    },
    "postprocessor":
    {
    }
}