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

Fix for Instagram #1001

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Fix for Instagram #1001

wants to merge 7 commits into from

Conversation

0bmay
Copy link

@0bmay 0bmay commented Jul 1, 2023

This PR fixes pulling Profile posts, Hashtag searches and Location searches. Location only allows for 1 page of data for users that are not logged in, so it only attempts to get 1 page of data. Profile and Hashtag work as before pulling until there is nothing left.

Adds getting Video URLs for video posts

Copy link
Contributor

@TheTechRobo TheTechRobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two minor style nits

snscrape/modules/instagram.py Outdated Show resolved Hide resolved
snscrape/modules/instagram.py Outdated Show resolved Hide resolved
add dataclasses Medium, Photo, Video and VideoVariant for Instagram as logged out users only get 1 media type per post this simplifies the class to use 1 property with different class values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants