1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-27 00:37:55 +01: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/',