diff options
author | sepro <4618135+seproDev@users.noreply.github.com> | 2024-03-08 23:36:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 23:36:41 +0100 |
commit | f4f9f6d00edcac6d4eb2b3fb78bf81326235d492 (patch) | |
tree | 4808f816cfeec2a30a6072e99873f3601bef5060 /yt_dlp/extractor/funimation.py | |
parent | dfd8c0b69683b1c11beea039a96dd2949026c1d7 (diff) |
[cleanup] Fix infodict returned fields (#8906)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/funimation.py')
-rw-r--r-- | yt_dlp/extractor/funimation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/funimation.py b/yt_dlp/extractor/funimation.py index 41de85cc6..c32f005ba 100644 --- a/yt_dlp/extractor/funimation.py +++ b/yt_dlp/extractor/funimation.py @@ -301,7 +301,7 @@ class FunimationShowIE(FunimationBaseIE): _TESTS = [{ 'url': 'https://www.funimation.com/en/shows/sk8-the-infinity', 'info_dict': { - 'id': 1315000, + 'id': '1315000', 'title': 'SK8 the Infinity' }, 'playlist_count': 13, @@ -312,7 +312,7 @@ class FunimationShowIE(FunimationBaseIE): # without lang code 'url': 'https://www.funimation.com/shows/ouran-high-school-host-club/', 'info_dict': { - 'id': 39643, + 'id': '39643', 'title': 'Ouran High School Host Club' }, 'playlist_count': 26, @@ -339,7 +339,7 @@ class FunimationShowIE(FunimationBaseIE): return { '_type': 'playlist', - 'id': show_info['id'], + 'id': str_or_none(show_info['id']), 'title': show_info['name'], 'entries': orderedSet( self.url_result( |