1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 20:32:52 +08:00

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

This commit is contained in:
Aleksander Nitecki 2016-10-03 21:47:19 +02:00 committed by Sergey M․
parent c1b2a0858c
commit 539c881bfc
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

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