mikf / gallery-dl

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

Stories not downloading the correct/updated stories for instagram #5523

Closed Vagh-s closed 6 months ago

Vagh-s commented 6 months ago

I was downloading stories for an account and i noticed that the downloaded stories where different from the actual ones. Seems like it was downloading the previous stories than the current ones. Tried refreshing cookies doesnt solve it. What solved it was changing the naming convention. When i changed it then it started the download the correct ones. This was happening on accounts i frequently scrape. So when i tried doing it on other accounts, it downloaded the correct one. Seems like its a naming convention issue where stories filenames dont change so it doesnt download updated ones? Is there a fix to this?

mikf commented 6 months ago

Seems like its a naming convention issue where stories filenames dont change so it doesnt download updated ones

Change the filename format then. Maybe include {date} or another field that changes when stories get updated.

Vagh-s commented 6 months ago

is there a way to have a specific format for stories only?

mikf commented 6 months ago

You can set options per subcategory:

-o extractor.instagram.stories.filename="…"

or

{
    "extractor": {
        "instagram": {
            "stories": {
                "filename": "…"
            }
        }
    }
}