0
0
Fork 0

[khanacademy] Improve _VALID_URL (Closes #3695)

main
Sergey M․ 2014-09-09 22:09:32 +07:00
parent 0dc5365564
commit 68477e8839
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ from ..utils import (
class KhanAcademyIE(InfoExtractor):
_VALID_URL = r'^https?://(?:www\.)?khanacademy\.org/(?P<key>[^/]+)/(?:[^/]+/){,2}(?P<id>[^?#/]+)(?:$|[?#])'
_VALID_URL = r'^https?://(?:(?:www|api)\.)?khanacademy\.org/(?P<key>[^/]+)/(?:[^/]+/){,2}(?P<id>[^?#/]+)(?:$|[?#])'
IE_NAME = 'KhanAcademy'
_TESTS = [{