Fixed parsing of video data. Now videos are loaded correctly again
This commit is contained in:
parent
89c8e6a194
commit
3deabdbf36
@ -27,7 +27,7 @@ sessions = {}
|
|||||||
identifiers = ["aid", "gid", "uid", "pid", "id", "post_id", "nid", "date"]
|
identifiers = ["aid", "gid", "uid", "pid", "id", "post_id", "nid", "date"]
|
||||||
|
|
||||||
# Different VK post types, present in the newsfeed buffer. This is useful for filtering by post and remove deleted posts.
|
# Different VK post types, present in the newsfeed buffer. This is useful for filtering by post and remove deleted posts.
|
||||||
post_types = dict(audio="audio", friend="friends", video="video", post="post_type", audio_playlist="audio_playlist")
|
post_types = dict(audio="audio", friend="friends", video="files", post="post_type", audio_playlist="audio_playlist")
|
||||||
|
|
||||||
def find_item(list, item):
|
def find_item(list, item):
|
||||||
""" Find an item in a list by taking an identifier.
|
""" Find an item in a list by taking an identifier.
|
||||||
|
Loading…
Reference in New Issue
Block a user