Skip to content
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

getting incomplete caption of post or is there any way to get full caption with title? #969

Closed
17it151tejaschauhan opened this issue Jan 13, 2021 · 0 comments · Fixed by #976
Labels
feature suggestion Feature suggestion

Comments

@17it151tejaschauhan
Copy link
Contributor

17it151tejaschauhan commented Jan 13, 2021

I am using instaloader since four months,

It's great library for scrapping of instagram and handled most of possible exceptions of scrapping,

I would like to get your attention in below issue:

It gives incomplete caption of post,

Example:

Check this post in desktop browser :- https://www.instagram.com/p/CJ5wh77h92w/

To get details of this post, i have written following code:

from instaloader import Instaloader, Post
L = Instaloader()
instagram_post_shortcode = "CJ5wh77h92w"
post = Post.from_shortcode(L.context, instagram_post_shortcode)
print(post.caption)

Output:

`Watch India's Test specialist talk about India's special effort in the 3rd Test at SCG 🤩

🇦🇺🆚🇮🇳, 4th Test LIVE
🗓️ FRI, JAN 15
🕔 5 AM
📺 Sony SIX, Sony TEN 1, Sony TEN 3

#SirfSonyPeDikhega #SonySports #CheteshwarPujara #AUSvIND #INDvAUS #TeamIndia`

which is incomplete caption, here "Test of Champions" is missing in caption.

Complete caption is :

`Test of Champions

Watch India's Test specialist talk about India's special effort in the 3rd Test at SCG 🤩

🇦🇺🆚🇮🇳, 4th Test LIVE
🗓️ FRI, JAN 15
🕔 5 AM
📺 Sony SIX, Sony TEN 1, Sony TEN 3

#SirfSonyPeDikhega #SonySports #CheteshwarPujara #AUSvIND #INDvAUS #TeamIndia`

17it151tejaschauhan pushed a commit to 17it151tejaschauhan/instaloader that referenced this issue Jan 16, 2021
@aandergr aandergr linked a pull request Jan 16, 2021 that will close this issue
@aandergr aandergr added feature suggestion Feature suggestion and removed question Question labels Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature suggestion Feature suggestion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants