0
0
Fork 0

[bilibili] flake8

main
remitamine 2015-12-03 22:43:19 +01:00
parent e5b4225f7c
commit 6612a34939
1 changed files with 2 additions and 6 deletions

View File

@ -2,13 +2,9 @@
from __future__ import unicode_literals
import re
import json
from .common import InfoExtractor
from ..compat import (
compat_etree_fromstring,
compat_str,
)
from ..compat import compat_str
from ..utils import (
int_or_none,
unescapeHTML,
@ -98,7 +94,7 @@ class BiliBiliIE(InfoExtractor):
'thumbnail': view_data.get('pic'),
'uploader': view_data.get('author'),
'timestamp': int_or_none(view_data.get('created')),
'view_count': view_data.get('play'),
'view_count': int_or_none(view_data.get('play')),
'duration': int_or_none(xpath_text(doc, './timelength')),
}