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:
parent
c1b2a0858c
commit
539c881bfc
@ -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…
Reference in New Issue
Block a user