logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 539c881bfc1380890a55a08dbf970900328f8ec5
parent c1b2a0858cafc3362e5da73b9fb737f18cde4618
Author: Aleksander Nitecki <ixendr@itogi.re>
Date:   Mon,  3 Oct 2016 21:47:19 +0200

[techtalks] Allow URL-s with name part omitted.

Diffstat:

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

diff --git a/youtube_dl/extractor/techtalks.py b/youtube_dl/extractor/techtalks.py @@ -10,7 +10,7 @@ from ..utils import ( class TechTalksIE(InfoExtractor): - _VALID_URL = r'https?://techtalks\.tv/talks/[^/]*/(?P<id>\d+)/' + _VALID_URL = r'https?://techtalks\.tv/talks/(?:[^/]*/)?(?P<id>\d+)/' _TEST = { 'url': 'http://techtalks.tv/talks/learning-topic-models-going-beyond-svd/57758/',