[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):
|
class TechTalksIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://techtalks\.tv/talks/[^/]*/(?P<id>\d+)/'
|
_VALID_URL = r'https?://techtalks\.tv/talks/(?:[^/]*/)?(?P<id>\d+)/'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://techtalks.tv/talks/learning-topic-models-going-beyond-svd/57758/',
|
'url': 'http://techtalks.tv/talks/learning-topic-models-going-beyond-svd/57758/',
|
||||||
|
Loading…
Reference in New Issue
Block a user