mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[funimation] PEP 8
This commit is contained in:
		| @@ -10,6 +10,7 @@ from ..utils import ( | |||||||
| ) | ) | ||||||
| import re | import re | ||||||
|  |  | ||||||
|  |  | ||||||
| class FunimationIE(InfoExtractor): | class FunimationIE(InfoExtractor): | ||||||
|     _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P<id>[^?]+)' |     _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 ExtractorError('Funimation is not available in your region.', expected=True) | ||||||
|             raise |             raise | ||||||
|         if re.search(r'<meta property="og:url" content="http://www.funimation.com/login"/>', login) is not None: |         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): |     def _real_initialize(self): | ||||||
|         self._login() |         self._login() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M?
					Sergey M?