]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/googlepodcasts.py
[ie/mlbtv] Fix extraction (#10296)
[yt-dlp.git] / yt_dlp / extractor / googlepodcasts.py
index 31ad799078a6413b6f1cf8feefc0909b52d639fc..8d1cc4fa119a05ea94896efc275a68eaba4142b9 100644 (file)
@@ -1,8 +1,4 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 import json
-import re
 
 from .common import InfoExtractor
 from ..utils import (
@@ -52,11 +48,11 @@ class GooglePodcastsIE(GooglePodcastsBaseIE):
             'timestamp': 1609606800,
             'duration': 2901,
             'series': "Wait Wait... Don't Tell Me!",
-        }
+        },
     }
 
     def _real_extract(self, url):
-        b64_feed_url, b64_guid = re.match(self._VALID_URL, url).groups()
+        b64_feed_url, b64_guid = self._match_valid_url(url).groups()
         episode = self._batch_execute(
             'oNjqVe', b64_guid, [b64_feed_url, b64_guid])[1]
         return self._extract_episode(episode)