1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 08:35:32 +00:00

[extractor/zeenews] Add extractor (#5289)

Closes #4967 
Authored by: m4tu4g, pukkandan
This commit is contained in:
m4tu4g
2022-10-20 03:17:18 +05:30
committed by GitHub
parent f47cf86eff
commit c13a301a94
3 changed files with 60 additions and 1 deletions

View File

@ -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)