commit b4c299bad032c51736f52117fe8154751aecd6da
parent ab4bdc913fafc71217c1196602525e0382c4eea3
Author: Sergey M? <dstftw@gmail.com>
Date: Fri, 11 Dec 2015 21:11:45 +0600
[funimation] PEP 8
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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()