[1tv] Fix video id extraction

This commit is contained in:
Sergey M․ 2016-12-05 23:28:57 +07:00
parent 3ed81714d8
commit 4afa4ff223
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -107,7 +107,7 @@ def _real_extract(self, url):
'ya:ovs:upload_date', webpage, 'upload date', default=None)) 'ya:ovs:upload_date', webpage, 'upload date', default=None))
entries.append({ entries.append({
'id': item.get('id') or uid, 'id': compat_str(item.get('id') or item['uid']),
'thumbnail': thumbnail, 'thumbnail': thumbnail,
'title': title, 'title': title,
'upload_date': upload_date, 'upload_date': upload_date,