-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] _parse_post_api()
doesn't provide some keywords
#2695
Comments
I particularly need description and sometimes tags and likes. I was going to post a new issue right now asking where they are, but I found that you've already done that, thanks. EDIT: Is there a workaround to filter posts by WORD in description/tags/amount of likes? |
This was fixed in commit 7af4d20 in the latest release (v1.22.2 or .3) I've left
You should be able to do this with regular expressions when searching through a string value: When searching through a list (or if you want to keep it simple), you can do |
@mikf I did that as I tested it shortly after creating the issue and it appears that |
I'm guessing this is due to changes in the extractor and the various endpoints it uses.
Based on my manual testing on my fork, the following keywords don't appear to be working:
post_url
: Can be built the same way it's built in_parse_post_graphql()
(<root>/p/<post_shortcode>/
)but it doesn't work for some story URLs (<root>/stories/<username>/<media_id>/
) or reel URLs (<root>/reel/<post_shortcode>/
). Is it not better to useself.url
instead?description
: Seems like it can be gotten frompost["caption"]["text"]
oritem["caption"]["text"]
.tags
: Can be parsed fromdescription
as in_parse_post_graphql()
.location-*
:post["location"]
likes
:post["like_count"]
I particularly need
post_url
as I like to know where a file came from if I ever need to redownload it or reacquire metadata with--no-download --no-skip
.The text was updated successfully, but these errors were encountered: