mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[funimation] PEP 8
This commit is contained in:
parent
ab4bdc913f
commit
b4c299bad0
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
)
|
||||
import re
|
||||
|
||||
|
||||
class FunimationIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P<id>[^?]+)'
|
||||
|
||||
|
@ -43,7 +44,7 @@ def _login(self):
|
|||
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()
|
||||
|
|
Loading…
Reference in a new issue