projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b2a08
)
[techtalks] Allow URL-s with name part omitted.
author
Aleksander Nitecki
<ixendr@itogi.re>
Mon, 3 Oct 2016 19:47:19 +0000
(21:47 +0200)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 3 Oct 2016 19:52:33 +0000
(
02:52
+0700)
youtube_dl/extractor/techtalks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/techtalks.py
b/youtube_dl/extractor/techtalks.py
index 16e945d8e624adc51e6a68eab786bdece0a29960..0ec7b127367236a0911f3f78a8e3045350b37708 100644
(file)
--- 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/',