logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 7d327fea5b7a73dfa6bf0082aed5d96a7ceae9a6
parent 4e3f1f0469b4f3c64cde7105729f9c3acfd3f679
Author: ipaha <paha@ua.fm>
Date:   Mon, 23 Sep 2019 22:44:00 +0300

[jwplatfom] do not match video URLs(#20596) (#22148)


Diffstat:

Myoutube_dl/extractor/jwplatform.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/jwplatform.py b/youtube_dl/extractor/jwplatform.py @@ -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',