mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-07 23:35:11 +01:00
[extractor/zeenews] Add extractor (#5289)
Closes #4967 Authored by: m4tu4g, pukkandan
This commit is contained in:
parent
f47cf86eff
commit
c13a301a94
3 changed files with 60 additions and 1 deletions
|
|
@ -1576,7 +1576,7 @@ class InfoExtractor:
|
|||
continue
|
||||
if at_top_level and set(e.keys()) == {'@context', '@graph'}:
|
||||
traverse_json_ld(e['@graph'], at_top_level=False)
|
||||
break
|
||||
continue
|
||||
if expected_type is not None and not is_type(e, expected_type):
|
||||
continue
|
||||
rating = traverse_obj(e, ('aggregateRating', 'ratingValue'), expected_type=float_or_none)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue