mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-03 02:26:23 +01:00
[extractor/tubi] Exclude playlists from playlist entries (#4416)
Closes #4409 Authored by: sqrtNOT
This commit is contained in:
parent
4f08e58655
commit
2dc4970e08
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user