X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fscreenjunkies.py;h=02e574cd89a79b2ad76c0eea8c76792b15f48d7b;hb=2133565cec3646680600d314b93e535f6fa52339;hp=e0db180b81992bea04380a1e704e32e1ae70575c;hpb=c8a80fd8184cddbd30ac8188ce04486886156365;p=youtube-dl diff --git a/youtube_dl/extractor/screenjunkies.py b/youtube_dl/extractor/screenjunkies.py index e0db180b8..02e574cd8 100644 --- a/youtube_dl/extractor/screenjunkies.py +++ b/youtube_dl/extractor/screenjunkies.py @@ -11,7 +11,7 @@ from ..utils import ( class ScreenJunkiesIE(InfoExtractor): - _VALID_URL = r'http://www.screenjunkies.com/video/(?P[^/]+?)(?:-(?P\d+))?(?:[/?#&]|$)' + _VALID_URL = r'https?://(?:www\.)?screenjunkies\.com/video/(?P[^/]+?)(?:-(?P\d+))?(?:[/?#&]|$)' _TESTS = [{ 'url': 'http://www.screenjunkies.com/video/best-quentin-tarantino-movie-2841915', 'md5': '5c2b686bec3d43de42bde9ec047536b0', @@ -93,8 +93,8 @@ class ScreenJunkiesIE(InfoExtractor): if not bitrates: # When subscriptionLevel > 0, i.e. plus subscription is required - # media list will be empty. However, hds and hls uri are still - # available. We can grabbing them assuming bitrates to be default. + # media list will be empty. However, hds and hls uris are still + # available. We can grab them assuming bitrates to be default. bitrates = self._DEFAULT_BITRATES auth_token = embed_vars.get('AuthToken')