Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Scrape Only Videos? #115

Closed
boscacci opened this issue Apr 12, 2021 · 2 comments
Closed

Scrape Only Videos? #115

boscacci opened this issue Apr 12, 2021 · 2 comments

Comments

@boscacci
Copy link

boscacci commented Apr 12, 2021

Problem?
I only need to download videos from IG, not photos. Is there a way I could skip photos while scraping?

Solution?
Perhaps a parameter in get_posts or scrape_posts for video_only=True or comparable flag

Alternatives I've considered:
https://github.com/drawrowfly/instagram-scraper — not super well maintained!

@stefco
Copy link

stefco commented Jun 19, 2021

Use Post.is_video to check this. See this example linked in the readme.

@boscacci
Copy link
Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants