aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/funimation.py
diff options
context:
space:
mode:
authorSergey M? <dstftw@gmail.com>2015-12-11 21:11:45 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-11 23:00:36 +0600
commitb4c299bad032c51736f52117fe8154751aecd6da (patch)
treeec5a5407306bf0466c1015004caa60e41086a0ae /youtube_dl/extractor/funimation.py
parentab4bdc913fafc71217c1196602525e0382c4eea3 (diff)
[funimation] PEP 8
Diffstat (limited to 'youtube_dl/extractor/funimation.py')
-rw-r--r--youtube_dl/extractor/funimation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py
index 773d80fe8..6f6aaf30f 100644
--- a/youtube_dl/extractor/funimation.py
+++ b/youtube_dl/extractor/funimation.py
@@ -10,6 +10,7 @@ from ..utils import (
)
import re
+
class FunimationIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P<id>[^?]+)'
@@ -43,7 +44,7 @@ class FunimationIE(InfoExtractor):
raise ExtractorError('Funimation is not available in your region.', expected=True)
raise
if re.search(r'<meta property="og:url" content="http://www.funimation.com/login"/>', login) is not None:
- raise ExtractorError('Unable to login, wrong username or password.', expected=True)
+ raise ExtractorError('Unable to login, wrong username or password.', expected=True)
def _real_initialize(self):
self._login()