mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00: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 @@
|
||||
js_to_json,
|
||||
sanitized_Request,
|
||||
urlencode_postdata,
|
||||
traverse_obj,
|
||||
)
|
||||
|
||||
|
||||
@ -135,6 +136,8 @@ def _entries(self, show_url, show_name):
|
||||
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