]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/axs.py
[ie/matchtv] Fix extractor (#10190)
[yt-dlp.git] / yt_dlp / extractor / axs.py
index 4b263725f12d0872d1ef89c335ae9166578bb4cd..7e91667712397810fdb865656bba184ba4c9a69b 100644 (file)
@@ -24,7 +24,8 @@ class AxsIE(InfoExtractor):
             'timestamp': 1685729564,
             'duration': 1284.216,
             'series': 'Rock & Roll Road Trip with Sammy Hagar',
-            'season': 2,
+            'season': 'Season 2',
+            'season_number': 2,
             'episode': '3',
             'thumbnail': 'https://images.dotstudiopro.com/5f4e9d330a0c3b295a7e8394',
         },
@@ -41,7 +42,8 @@ class AxsIE(InfoExtractor):
             'timestamp': 1676403615,
             'duration': 2570.668,
             'series': 'The Big Interview with Dan Rather',
-            'season': 3,
+            'season': 'Season 3',
+            'season_number': 3,
             'episode': '5',
             'thumbnail': 'https://images.dotstudiopro.com/5f4d1901f340b50d937cec32',
         },
@@ -77,7 +79,7 @@ def _real_extract(self, url):
                 'title': ('title', {str}),
                 'description': ('description', {str}),
                 'series': ('seriestitle', {str}),
-                'season': ('season', {int}),
+                'season_number': ('season', {int}),
                 'episode': ('episode', {str}),
                 'duration': ('duration', {float_or_none}),
                 'timestamp': ('updated_at', {parse_iso8601}),