p621.posts.Post
attributes
|
|
unique post ID |
|
|
description of the post |
|
|
source file of the post |
|
|
preview image of the post |
|
|
URLs for the original source of the file |
|
|
creation time of the post |
|
|
post’s time of last update |
|
|
upvotes and downvotes for the post |
|
|
number of favorites of the post |
|
|
numbers of comments of the post |
|
|
tags on the post |
|
|
incremental number of times the post is changed |
|
|
flags on the post |
|
|
rating of the post |
|
|
pools the post is a part of |
|
|
post ID of the parent of the post if the post has one |
|
|
post IDs of the children of the post |
|
|
ID of the user that approved the post |
|
|
ID of the user that uploaded the post |
methods
|
|
the URL of the post’s web page |
|
downloads the source file of the post |
|
opens the web page of the post on the browser |
page_url
Post.page_url()
the URL of the post’s web page
returns
str - page URL
download
Post.download(path)
downloads the source file of the post
parameters
-
str path (optional) - path of the download, current directory if unspecified
open
Post.open()
opens the web page of the post on the browser