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

pull/10844/head
Aleksander Nitecki 8 years ago committed by Sergey M․
parent c1b2a0858c
commit 539c881bfc
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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/',

Loading…
Cancel
Save