I am trying to retrieve a user's recent posts and get any videos that they have uploaded. My code checks to see if a post is a video by checking for post.is_video and then it attempts to retrieve the video url via post.video_url. However every time that I try and do so, Python says that the video_url parameter does not exist, even after running post.scrape(). It throws the error below:
AttributeError: 'Post' object has no attribute 'video_url'
Using post.download(PATH) also throws a similar error.
I have tried this on both the latest Github version and the latest PyPI version.
Hello!
I am trying to retrieve a user's recent posts and get any videos that they have uploaded. My code checks to see if a post is a video by checking for
post.is_video
and then it attempts to retrieve the video url viapost.video_url
. However every time that I try and do so, Python says that thevideo_url
parameter does not exist, even after runningpost.scrape()
. It throws the error below:Using
post.download(PATH)
also throws a similar error.I have tried this on both the latest Github version and the latest PyPI version.