diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2014-05-15 13:43:29 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2014-05-15 13:43:29 +0200 |
commit | 01ed5c9be30a98d3d8bc9eeb4240ce69d4b5c1ae (patch) | |
tree | ad058ab41080444d25121e37467fb5ee5b7b671a | |
parent | ad3bc6acd5d6724875b9fa59f9b5cdb9b904ec91 (diff) | |
download | youtube-dl-01ed5c9be30a98d3d8bc9eeb4240ce69d4b5c1ae.tar.gz youtube-dl-01ed5c9be30a98d3d8bc9eeb4240ce69d4b5c1ae.zip |
[youtube] Fix typo
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 3c8f7f7a2..6dcdc866b 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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: |