Update code to match coding conventions

This commit is contained in:
Timmy 2018-04-14 19:23:15 +02:00
parent b74c43318d
commit aadca0afc7
No known key found for this signature in database
GPG Key ID: 69B2CF967D302D68

View File

@ -140,7 +140,7 @@ class VineUserIE(InfoExtractor):
user_id = profile_data['data']['userId']
user_archive = self._download_json(
'https://archive.vine.co/profiles/%s.json' % user_id, user_id)
posts = user_archive.get('posts')
posts = user_archive['posts']
entries = [
self.url_result('https://vine.co/v/%s' % post_id)
for post_id in posts]