Bladeren bron

TEDIE: report the correct talk title when a link with the language code is given

Jaime Marquínez Ferrándiz 12 jaren geleden
bovenliggende
commit
2e2038dc35
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      youtube_dl/InfoExtractors.py

+ 1 - 0
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"
                    '''