aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorAleksander Nitecki <ixendr@itogi.re>2016-10-03 21:47:19 +0200
committerSergey M․ <dstftw@gmail.com>2016-10-04 02:52:33 +0700
commit539c881bfc1380890a55a08dbf970900328f8ec5 (patch)
tree01c944920f7c873c73af78036ffefe4db07de660 /youtube_dl
parentc1b2a0858cafc3362e5da73b9fb737f18cde4618 (diff)
[techtalks] Allow URL-s with name part omitted.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/techtalks.py2
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/',