aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-01-31 10:51:39 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-01-31 10:51:39 +0100
commite41b1f73854d8a422235a3b92ca4255affbcd39e (patch)
treede9cf15f56c93f104ceb139e2c29ca49f3fc4813 /youtube_dl/extractor
parentcd596028d6c873ac7e9a61902bbe8f86d517b5b9 (diff)
Fix flake8 errors
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/comedycentral.py41
-rw-r--r--youtube_dl/extractor/spike.py2
2 files changed, 22 insertions, 21 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index f9256dcf4..b24538981 100644
--- a/youtube_dl/extractor/comedycentral.py
+++ b/youtube_dl/extractor/comedycentral.py
@@ -71,25 +71,28 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
'title': 'thedailyshow Sarah Chayes Extended Interview',
},
- 'playlist': [{
- 'info_dict': {
- 'id': '0baad492-cbec-4ec1-9e50-ad91c291127f',
- 'ext': 'mp4',
- 'upload_date': '20150129',
- 'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
- 'uploader': 'thedailyshow',
- 'title': 'thedailyshow sarah-chayes-extended-interview part 1',
- }
- }, {
- 'info_dict': {
- 'id': '1e4fb91b-8ce7-4277-bd7c-98c9f1bbd283',
- 'ext': 'mp4',
- 'upload_date': '20150129',
- 'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
- 'uploader': 'thedailyshow',
- 'title': 'thedailyshow sarah-chayes-extended-interview part 2',
- }
- }],
+ 'playlist': [
+ {
+ 'info_dict': {
+ 'id': '0baad492-cbec-4ec1-9e50-ad91c291127f',
+ 'ext': 'mp4',
+ 'upload_date': '20150129',
+ 'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
+ 'uploader': 'thedailyshow',
+ 'title': 'thedailyshow sarah-chayes-extended-interview part 1',
+ },
+ },
+ {
+ 'info_dict': {
+ 'id': '1e4fb91b-8ce7-4277-bd7c-98c9f1bbd283',
+ 'ext': 'mp4',
+ 'upload_date': '20150129',
+ 'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
+ 'uploader': 'thedailyshow',
+ 'title': 'thedailyshow sarah-chayes-extended-interview part 2',
+ },
+ },
+ ],
'params': {
'skip_download': True,
},
diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py
index 1af2e9725..e529bb55c 100644
--- a/youtube_dl/extractor/spike.py
+++ b/youtube_dl/extractor/spike.py
@@ -1,7 +1,5 @@
from __future__ import unicode_literals
-import re
-
from .mtv import MTVServicesInfoExtractor