mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[extractor/tubi] Exclude playlists from playlist entries (#4416)
Closes #4409 Authored by: sqrtNOT
This commit is contained in:
		| @@ -7,6 +7,7 @@ from ..utils import ( | ||||
|     js_to_json, | ||||
|     sanitized_Request, | ||||
|     urlencode_postdata, | ||||
|     traverse_obj, | ||||
| ) | ||||
| 
 | ||||
| 
 | ||||
| @@ -135,6 +136,8 @@ class TubiTvShowIE(InfoExtractor): | ||||
|             show_webpage, 'data'), show_name, transform_source=js_to_json)['video'] | ||||
| 
 | ||||
|         for episode_id in show_json['fullContentById'].keys(): | ||||
|             if traverse_obj(show_json, ('byId', episode_id, 'type')) == 's': | ||||
|                 continue | ||||
|             yield self.url_result( | ||||
|                 'tubitv:%s' % episode_id, | ||||
|                 ie=TubiTvIE.ie_key(), video_id=episode_id) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sqrtNOT
					sqrtNOT