mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 07:36:52 +01:00
[youtube] Fix typo
This commit is contained in:
parent
ad3bc6acd5
commit
01ed5c9be3
@ -1145,7 +1145,7 @@ def _real_extract(self, url):
|
|||||||
m_cat_container = get_element_by_id("eow-category", video_webpage)
|
m_cat_container = get_element_by_id("eow-category", video_webpage)
|
||||||
if m_cat_container:
|
if m_cat_container:
|
||||||
category = self._html_search_regex(
|
category = self._html_search_regex(
|
||||||
r'(?s)<a[^<]+>(.*?)</a>', m_cat_container, 'cateory',
|
r'(?s)<a[^<]+>(.*?)</a>', m_cat_container, 'category',
|
||||||
default=None)
|
default=None)
|
||||||
video_categories = None if category is None else [category]
|
video_categories = None if category is None else [category]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user