diff --git a/feeds/modules/vk_feed.py b/feeds/modules/vk_feed.py index fa4e35f..ace9749 100644 --- a/feeds/modules/vk_feed.py +++ b/feeds/modules/vk_feed.py @@ -38,7 +38,7 @@ class VKFeedModuleConfig(FeedModuleConfig): if 'attachments' in post: photos = [] for image in filter(lambda a: 'photo' in a, post['attachments']): - url = get_vk_photo(image['photo']) + url = image['photo']['sizes'][-1]['url'] if url: photos.append(url.replace('\\', '')) if len(photos) == 1: