Skip to content

Commit

Permalink
[ie/aenetworks] Rating should be optional for AP extraction (#9005)
Browse files Browse the repository at this point in the history
Authored by: agibson-fl
  • Loading branch information
agibson-fl committed Jan 18, 2024
1 parent 8e6e365 commit 014cb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/aenetworks.py
Expand Up @@ -93,7 +93,7 @@ def _extract_aetn_info(self, domain, filter_key, filter_value, url):
resource = self._get_mvpd_resource(
requestor_id, theplatform_metadata['title'],
theplatform_metadata.get('AETN$PPL_pplProgramId') or theplatform_metadata.get('AETN$PPL_pplProgramId_OLD'),
theplatform_metadata['ratings'][0]['rating'])
traverse_obj(theplatform_metadata, ('ratings', 0, 'rating')))
auth = self._extract_mvpd_auth(
url, video_id, requestor_id, resource)
info.update(self._extract_aen_smil(media_url, video_id, auth))
Expand Down

0 comments on commit 014cb57

Please sign in to comment.