-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Instagram] Support for ignoring pinned posts for extractor.*.skip #2752
Comments
why did you want to skip a pinned post? |
I am realizing now I did not clarify that in the logic this new extractor option would still download pinned posts should they not be in the archive. However, if the current media that is in a pinned post is within the archive, don't count it towards the skip extractor such as in the case of abort:n I hope that clears up any confusion. |
i still dunt undestand |
'pinned' is a list of user IDs for which a post is pinned and empty if not pinned anywhere.
This is not entirely what you requested (integrating something like this into the whole skip/archive logic is complicated and error prone), but it at least allows you to filter by pinned status: 467a2a4.
|
It might not be what I requested but I appreciate it nonetheless. I'll go ahead and modify my current script to re-run the command but this time passing in Thanks again Also, do you have a certain release schedule for chocolatey pushes? |
I do not have any control over chocolatey releases or really any listed on https://repology.org/project/gallery-dl/versions. I am only responsible for GitHub and Snap releases, everything else is handled by someone other than me. The one in charge of chocolatey releases seems to be Starz0r here on GitHub. Maybe ping him? |
You mean GitHub, Snap, and PyPI (the official Python Package Index)? |
how could this be used in a JSON configuration file? I couldn't find any information on it in the docs here https://gdl-org.github.io/docs/configuration.html |
It's |
Instagram recently introduced a feature that allows users to pin certain posts to their profiles. In my opinion this interferes directly with the use of the skip extractor option. Reason being is because current behavior will see the latest posts are those pinned posts. Depending on how many pinned media there is and your skip extractor option, the rest of the posts would be skipped.
For example, consider the following Instagram, https://www.instagram.com/h1ghrmusic/. At the time of this issue they have three pinned posts. Post one has one media. Post two has eight pieces of media. Post three has two pieces of media.
What I did was run the following command above once and stop it as soon as it downloaded the first two posts or eight pieces of media. At this point I terminated the command forcefully.
I attempted to run the same command above one more time, again with
-o extractor.instagram.skip="abort:2"
. It automatically aborted as it should have as it found two pieces of media already in the archive. I changed the command to-o extractor.instagram.skip="abort:3"
just to confirm and it also aborted. When I changed the command to-o extractor.instagram.skip="abort:10"
it started downloading the remaining images.I would like to request either a new extractor option or updated skip behavior for the Instagram module to ignore pinned posts when it comes to argument(s) passed in to skip extractor option.
The text was updated successfully, but these errors were encountered: