aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:49:45 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:49:45 +0200
commit416a5efce7f70a6a3ef88ac902100fa5211e181e (patch)
tree144328a5d61994b43c4de1f5ecc3e5aaa55814b8
parentf4d96df0f1e978d580197fafb8dacade4b611ef3 (diff)
downloadyoutube-dl-416a5efce7f70a6a3ef88ac902100fa5211e181e.tar.xz
fix typos
-rw-r--r--youtube_dl/YoutubeDL.py2
-rw-r--r--youtube_dl/extractor/common.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index fd98321f1..296c0f992 100644
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -512,7 +512,7 @@ class YoutubeDL(object):
formats_to_download = formats
else:
# 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('/')
for rf in req_formats:
matches = filter(lambda f:f['format_id'] == rf ,formats)
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 2a5a85dc6..d4af3b5eb 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -365,7 +365,7 @@ class SearchInfoExtractor(InfoExtractor):
def _get_n_results(self, query, n):
"""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
def SEARCH_KEY(self):