Skip to content

This function takes a Instagram username as input and fetches the corresponding Instagram profile page. It then uses BeautifulSoup to parse the HTML content of the page. It finds two meta tags in the HTML - one with the attribute "property" having the value "og:description" and the other with the value "og:title".

Notifications You must be signed in to change notification settings

bob020416/Instagram_Followers_Crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This function prompts the user to input an Instagram username. It then calls the get_user_info function with this username to get the user's details. If there is any error (like the user doesn't exist or the profile is private), it catches the exception and prints an error message.

If there are no errors, it prints the user's name, follower count, following count, and post count in a nicely formatted way. Uploading 截圖 2023-07-16 下午8.48.52.png…

About

This function takes a Instagram username as input and fetches the corresponding Instagram profile page. It then uses BeautifulSoup to parse the HTML content of the page. It finds two meta tags in the HTML - one with the attribute "property" having the value "og:description" and the other with the value "og:title".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages