[youtube] Fix typo
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 15 May 2014 11:43:29 +0000 (13:43 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Thu, 15 May 2014 11:43:29 +0000 (13:43 +0200)
youtube_dl/extractor/youtube.py

index 3c8f7f7a2a65720e72c9efeb0fbf017202902de5..6dcdc866beb61d183ed3234f1659aa0c3c2635d1 100644 (file)
@@ -1145,7 +1145,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
         m_cat_container = get_element_by_id("eow-category", video_webpage)
         if m_cat_container:
             category = self._html_search_regex(
-                r'(?s)<a[^<]+>(.*?)</a>', m_cat_container, 'cateory',
+                r'(?s)<a[^<]+>(.*?)</a>', m_cat_container, 'category',
                 default=None)
             video_categories = None if category is None else [category]
         else: