From 86be0691b2d19c8c441d5496f52de3f90227749e Mon Sep 17 00:00:00 2001 From: Pika Date: Tue, 24 Mar 2020 18:51:20 -0400 Subject: [PATCH] fix flake8 errors --- youtube_dl/extractor/trutv.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/trutv.py b/youtube_dl/extractor/trutv.py index b72ad012d..58633963e 100644 --- a/youtube_dl/extractor/trutv.py +++ b/youtube_dl/extractor/trutv.py @@ -1,8 +1,6 @@ # coding: utf-8 from __future__ import unicode_literals -import re - from .turner import TurnerBaseIE from ..utils import ( int_or_none, @@ -31,13 +29,13 @@ class TruTVIE(TurnerBaseIE): def _real_extract(self, url): episode_slug = self._match_id(url) - + webpage = self._download_webpage(url, episode_slug) - + meta = self._parse_json(self._html_search_regex(r'', webpage, episode_slug), episode_slug) data = self._parse_json(self._html_search_regex(r'', webpage, episode_slug), episode_slug) - + eps = data['turner_playlist'] for ep in eps: