summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-05-02 18:28:07 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-05-02 18:28:07 +0200
commit2e2038dc352de8a10525eb103bd9f6a6ae5b43f9 (patch)
tree78a5f2a72b5126e60b3eb90aae9fa16d96635b1b
parent46bfb422584b46462ab4859f400758e0e7e977ad (diff)
downloadyoutube-dl-2e2038dc352de8a10525eb103bd9f6a6ae5b43f9.tar.gz
youtube-dl-2e2038dc352de8a10525eb103bd9f6a6ae5b43f9.tar.xz
youtube-dl-2e2038dc352de8a10525eb103bd9f6a6ae5b43f9.zip
TEDIE: report the correct talk title when a link with the language code is given
-rwxr-xr-xyoutube_dl/InfoExtractors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index e0c50c402..33dbaa3de 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -3854,6 +3854,7 @@ class TEDIE(InfoExtractor):
                         |
                         ((?P<type_talk>talks)) # We have a simple talk
                    )
+                   (/lang/(.*?))? # The url may contain the language
                    /(?P<name>\w+) # Here goes the name and then ".html"
                    '''