[jwplatfom] do not match manifest URLs(#20596)
authorRemita Amine <remitamine@gmail.com>
Mon, 8 Apr 2019 15:34:03 +0000 (16:34 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 8 Apr 2019 15:34:03 +0000 (16:34 +0100)
youtube_dl/extractor/jwplatform.py

index d19a6a774d2ef198bdc6e42ba4bae8289e7980f5..647b905f12ebd7ebbe525d90e5fce747cd42d61a 100644 (file)
@@ -7,7 +7,7 @@ from .common import InfoExtractor
 
 
 class JWPlatformIE(InfoExtractor):
-    _VALID_URL = r'(?:https?://(?:content\.jwplatform|cdn\.jwplayer)\.com/(?:(?:feed|player|thumb|preview|video|manifest)s|jw6|v2/media)/|jwplatform:)(?P<id>[a-zA-Z0-9]{8})'
+    _VALID_URL = r'(?:https?://(?:content\.jwplatform|cdn\.jwplayer)\.com/(?:(?:feed|player|thumb|preview|video)s|jw6|v2/media)/|jwplatform:)(?P<id>[a-zA-Z0-9]{8})'
     _TESTS = [{
         'url': 'http://content.jwplatform.com/players/nPripu9l-ALJ3XQCI.js',
         'md5': 'fa8899fa601eb7c83a64e9d568bdf325',