mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	PEP8 applied
This commit is contained in:
		| @@ -423,17 +423,18 @@ class InfoExtractor(object): | ||||
|         """Report attempt to log in.""" | ||||
|         self.to_screen('Logging in') | ||||
|  | ||||
|     #Methods for following #608 | ||||
|     # Methods for following #608 | ||||
|     @staticmethod | ||||
|     def url_result(url, ie=None, video_id=None): | ||||
|         """Returns a url that points to a page that should be processed""" | ||||
|         #TODO: ie should be the class used for getting the info | ||||
|         # TODO: ie should be the class used for getting the info | ||||
|         video_info = {'_type': 'url', | ||||
|                       'url': url, | ||||
|                       'ie_key': ie} | ||||
|         if video_id is not None: | ||||
|             video_info['id'] = video_id | ||||
|         return video_info | ||||
|  | ||||
|     @staticmethod | ||||
|     def playlist_result(entries, playlist_id=None, playlist_title=None): | ||||
|         """Returns a playlist""" | ||||
| @@ -517,7 +518,7 @@ class InfoExtractor(object): | ||||
|                     raise netrc.NetrcParseError('No authenticators for %s' % self._NETRC_MACHINE) | ||||
|             except (IOError, netrc.NetrcParseError) as err: | ||||
|                 self._downloader.report_warning('parsing .netrc: %s' % compat_str(err)) | ||||
|          | ||||
|  | ||||
|         return (username, password) | ||||
|  | ||||
|     def _get_tfa_info(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jouke Waleson
					Jouke Waleson