1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

flake8 compliance

This commit is contained in:
Arthur Bols 2019-04-01 16:16:49 +02:00
parent f2963782bc
commit b7c9583fd3

View File

@ -1,13 +1,8 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals from __future__ import unicode_literals
import re
from .common import InfoExtractor from .common import InfoExtractor
from ..utils import ( from ..utils import (
float_or_none, float_or_none,
int_or_none,
try_get,
) )
@ -91,7 +86,7 @@ class VRTIE(InfoExtractor):
r'data-video-sitestat-pubdate="(\d+)"', webpage, 'timestamp', fatal=False), 1000) r'data-video-sitestat-pubdate="(\d+)"', webpage, 'timestamp', fatal=False), 1000)
duration = float_or_none(self._search_regex( duration = float_or_none(self._search_regex(
r'data-duration="(\d+)"', webpage, 'duration', fatal=False), 1000) r'data-duration="(\d+)"', webpage, 'duration', fatal=False), 1000)
return { return {
'id': video_id, 'id': video_id,
'title': title, 'title': title,