[BBC] Also allow PID with leading 'l' (live?)
authordirkf <fieldhouse@gmx.net>
Wed, 9 Feb 2022 21:21:59 +0000 (21:21 +0000)
committerdirkf <fieldhouse@gmx.net>
Wed, 9 Feb 2022 21:21:59 +0000 (21:21 +0000)
youtube_dl/extractor/bbc.py

index 088af982323043e1585e815dcfd4919a9f7fe714..378b52f4f5ea9b3f570f156a1c7a284bf411169e 100644 (file)
@@ -40,7 +40,7 @@ from ..utils import (
 class BBCCoUkIE(InfoExtractor):
     IE_NAME = 'bbc.co.uk'
     IE_DESC = 'BBC iPlayer'
-    _ID_REGEX = r'(?:[pbm][\da-z]{7}|w[\da-z]{7,14})'
+    _ID_REGEX = r'(?:[pbml][\da-z]{7}|w[\da-z]{7,14})'
     _VALID_URL = r'''(?x)
                     https?://
                         (?:www\.)?bbc\.co\.uk/