Skip to content

I am getting "graphql Error" while fetching metaData of videos posts using instalooter 2.4.4. #353

@Waqas1o1

Description

@Waqas1o1

I can't say for sure why this error is coming but it seems like it accounts problem.
I am trying to run the following script from python 3.10.0

obj = HashtagLooter(tag, dump_only=True)
obj.download_videos(f'downloads/{tag}', media_count=10, new_only=self.appendNewOnly) 

Then the Error Rised

Traceback (most recent call last):
File "C:\Users\Muhamad Waqas\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "F:\TECHNOVETIVE\Automation Media\Backend\instagrame\utils.py", line 66, in run
obj.download_videos(
File "F:\TECHNOVETIVE\Automation Media\Backend\env\lib\site-packages\instalooter\looters.py", line 395, in download_videos
return self.download(
File "F:\TECHNOVETIVE\Automation Media\Backend\env\lib\site-packages\instalooter\looters.py", line 469, in download
medias_queued = self._fill_media_queue(
File "F:\TECHNOVETIVE\Automation Media\Backend\env\lib\site-packages\instalooter\looters.py", line 620, in _fill_media_queue
media = self.get_post_info(media['shortcode'])
File "F:\TECHNOVETIVE\Automation Media\Backend\env\lib\site-packages\instalooter\looters.py", line 350, in get_post_info
if 'graphql' in data['entry_data']['PostPage'][0]:
KeyError: 'PostPage'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions