instagram-scraper icon indicating copy to clipboard operation
instagram-scraper copied to clipboard

No Account Info and Username None

Open gormlabenz opened this issue 4 years ago • 2 comments

Hey, I use the get_medias_by_tag.py script. When I print out the username, I receive none. Here is the script:

from igramscraper.instagram  import Instagram # pylint: disable=no-name-in-module

instagram = Instagram()
instagram.with_credentials('------', '------', 'chache')
instagram.login()

medias = instagram.get_medias_by_tag('kauflokal', count=20)

for media in medias:
    #print(media)
    print('Account info:')
    account = media.owner
    #print('Id', account.identifier)
    print('Username', account.username)
    # print('Full Name', account.full_name)
    # print('Profile Pic Url', account.get_profile_picture_url_hd())
    print('--------------------------------------------------')
Error

gormlabenz avatar May 02 '20 13:05 gormlabenz