[jwplatfom] do not match video URLs(#20596) (#22148)
authoripaha <paha@ua.fm>
Mon, 23 Sep 2019 19:44:00 +0000 (22:44 +0300)
committerremitamine <remitamine@gmail.com>
Mon, 23 Sep 2019 19:44:00 +0000 (19:44 +0000)
youtube_dl/extractor/jwplatform.py

index 647b905f12ebd7ebbe525d90e5fce747cd42d61a..2aabd98b5bbaf36efecdc76415bf52854705bd1e 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)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)s|jw6|v2/media)/|jwplatform:)(?P<id>[a-zA-Z0-9]{8})'
     _TESTS = [{
         'url': 'http://content.jwplatform.com/players/nPripu9l-ALJ3XQCI.js',
         'md5': 'fa8899fa601eb7c83a64e9d568bdf325',