mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cleanup] Add more ruff rules (#10149)
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| from .common import InfoExtractor | ||||
| from ..compat import compat_str | ||||
| from ..utils import ( | ||||
|     ExtractorError, | ||||
|     int_or_none, | ||||
| @@ -20,7 +19,7 @@ class TheInterceptIE(InfoExtractor): | ||||
|             'timestamp': 1450429239, | ||||
|             'upload_date': '20151218', | ||||
|             'comment_count': int, | ||||
|         } | ||||
|         }, | ||||
|     }] | ||||
| 
 | ||||
|     def _real_extract(self, url): | ||||
| @@ -35,8 +34,8 @@ class TheInterceptIE(InfoExtractor): | ||||
|             if post['slug'] == display_id: | ||||
|                 return { | ||||
|                     '_type': 'url_transparent', | ||||
|                     'url': 'jwplatform:%s' % post['fov_videoid'], | ||||
|                     'id': compat_str(post['ID']), | ||||
|                     'url': 'jwplatform:{}'.format(post['fov_videoid']), | ||||
|                     'id': str(post['ID']), | ||||
|                     'display_id': display_id, | ||||
|                     'title': post['title'], | ||||
|                     'description': post.get('excerpt'), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sepro
					sepro