]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/rbmaradio.py
[extractor] Common function `_match_valid_url`
[yt-dlp.git] / yt_dlp / extractor / rbmaradio.py
index ae7413fb5eeb33f4f7e4e46ba816b4c554d20875..9642fbbe1ec1ea745bdd02c3d1891b5126532ceb 100644 (file)
@@ -1,6 +1,5 @@
 from __future__ import unicode_literals
 
-import re
 
 from .common import InfoExtractor
 from ..compat import compat_str
@@ -30,7 +29,7 @@ class RBMARadioIE(InfoExtractor):
     }
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
+        mobj = self._match_valid_url(url)
         show_id = mobj.group('show_id')
         episode_id = mobj.group('id')