diff options
author | Aleksander Nitecki <ixendr@itogi.re> | 2016-10-03 21:47:19 +0200 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-10-04 02:52:33 +0700 |
commit | 539c881bfc1380890a55a08dbf970900328f8ec5 (patch) | |
tree | 01c944920f7c873c73af78036ffefe4db07de660 | |
parent | c1b2a0858cafc3362e5da73b9fb737f18cde4618 (diff) |
[techtalks] Allow URL-s with name part omitted.
-rw-r--r-- | youtube_dl/extractor/techtalks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/techtalks.py b/youtube_dl/extractor/techtalks.py index 16e945d8e..0ec7b1273 100644 --- a/youtube_dl/extractor/techtalks.py +++ b/youtube_dl/extractor/techtalks.py @@ -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/', |