]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
TEDIE: report the correct talk title when a link with the language code is given
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 2 May 2013 16:28:07 +0000 (18:28 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 2 May 2013 16:28:07 +0000 (18:28 +0200)
youtube_dl/InfoExtractors.py

index e0c50c402279d9b32c58e7168b3ce6f32f919120..33dbaa3de4fa0de4c9e6350970c2f4fa31a95589 100755 (executable)
@@ -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"
                    '''