Sfoglia il codice sorgente

[BBC] Also allow PID with leading 'l' (live?)

dirkf 3 anni fa
parent
commit
266b6ef185
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      youtube_dl/extractor/bbc.py

+ 1 - 1
youtube_dl/extractor/bbc.py

@@ -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/