Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Cannot retreive video_url from post object #145

Closed
code1dot opened this issue Nov 5, 2021 · 1 comment · May be fixed by #146
Closed

Cannot retreive video_url from post object #145

code1dot opened this issue Nov 5, 2021 · 1 comment · May be fixed by #146

Comments

@code1dot
Copy link

code1dot commented Nov 5, 2021

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 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.

@code1dot
Copy link
Author

code1dot commented Nov 5, 2021

Nevermind, I found out what it was and sent a fix via a Pull Request

@code1dot code1dot closed this as completed Nov 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant