1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-25 12:55:51 +01:00

fix typos

This commit is contained in:
Philipp Hagemeister 2013-10-18 00:49:45 +02:00
parent f4d96df0f1
commit 416a5efce7
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ class YoutubeDL(object):
formats_to_download = formats formats_to_download = formats
else: else:
# We can accept formats requestd in the format: 34/10/5, we pick # We can accept formats requestd in the format: 34/10/5, we pick
# the first that is availble, starting from left # the first that is available, starting from left
req_formats = req_format.split('/') req_formats = req_format.split('/')
for rf in req_formats: for rf in req_formats:
matches = filter(lambda f:f['format_id'] == rf ,formats) matches = filter(lambda f:f['format_id'] == rf ,formats)

View File

@ -365,7 +365,7 @@ class SearchInfoExtractor(InfoExtractor):
def _get_n_results(self, query, n): def _get_n_results(self, query, n):
"""Get a specified number of results for a query""" """Get a specified number of results for a query"""
raise NotImplementedError("This method must be implemented by sublclasses") raise NotImplementedError("This method must be implemented by subclasses")
@property @property
def SEARCH_KEY(self): def SEARCH_KEY(self):