Explorar o código

[konserthusetplay] Improve _VALID_URL

Sergey M․ %!s(int64=9) %!d(string=hai) anos
pai
achega
f070197bd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/konserthusetplay.py

+ 1 - 1
youtube_dl/extractor/konserthusetplay.py

@@ -9,7 +9,7 @@ from ..utils import (
 
 
 class KonserthusetPlayIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?konserthusetplay\.se/\?m=(?P<id>[^&]+)'
+    _VALID_URL = r'https?://(?:www\.)?konserthusetplay\.se/\?.*\bm=(?P<id>[^&]+)'
     _TEST = {
         'url': 'http://www.konserthusetplay.se/?m=CKDDnlCY-dhWAAqiMERd-A',
         'info_dict': {