youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 70cab344c48598904fde657620156be62b70ee0d
parent a7ba57dc176efaa50b5121a1f63963f4fc0111e7
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 16 Mar 2016 21:46:09 +0600

[udemy] Improve course id v4 regex

Diffstat:
Myoutube_dl/extractor/udemy.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py @@ -144,7 +144,7 @@ class UdemyIE(InfoExtractor): webpage = self._download_webpage(url, lecture_id) course_id = self._search_regex( - (r'data-course-id=["\'](\d+)', r'&quot;id&quot;: (\d+)'), + (r'data-course-id=["\'](\d+)', r'&quot;id&quot;\s*:\s*(\d+)'), webpage, 'course id') try: