Fixed parsing of video data. Now videos are loaded correctly again

This commit is contained in:
Manuel Cortez 2019-10-11 12:04:46 -05:00
parent 89c8e6a194
commit 3deabdbf36

View File

@ -27,7 +27,7 @@ sessions = {}
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.
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):
""" Find an item in a list by taking an identifier.