1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00: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/',