From b989781ca46177ce390f20b12774239834ef564d Mon Sep 17 00:00:00 2001 From: Jacopo Notarstefano Date: Sun, 1 Jun 2014 10:59:09 +0200 Subject: [PATCH 1/2] Fix small typo when calling newspaper.languages() --- newspaper/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newspaper/utils/__init__.py b/newspaper/utils/__init__.py index c6a76ee5..8a9242a3 100644 --- a/newspaper/utils/__init__.py +++ b/newspaper/utils/__init__.py @@ -377,7 +377,7 @@ def print_available_languages(): } codes = get_available_languages() - print '\nYour available langauges are:' + print '\nYour available languages are:' print '\ninput code\t\tfull name' for code in codes: print ' %s\t\t\t %s' % (code, language_dict[code]) From e92c5319f9212c56892f41a4c9aa43ef606b41d3 Mon Sep 17 00:00:00 2001 From: Jacopo Notarstefano Date: Sun, 1 Jun 2014 11:06:38 +0200 Subject: [PATCH 2/2] Fix small typo in documentation about newspaper.languages() --- README.rst | 2 +- docs/user_guide/quickstart.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 37a59fa6..856097e9 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,7 @@ Inspired by `requests`_ for its simplicity and powered by `lxml`_ for its speed: >>> import newspaper >>> newspaper.languages() - Your available langauges are: + Your available languages are: input code full name ar Arabic diff --git a/docs/user_guide/quickstart.rst b/docs/user_guide/quickstart.rst index b9f6c882..c847ebbe 100644 --- a/docs/user_guide/quickstart.rst +++ b/docs/user_guide/quickstart.rst @@ -244,7 +244,7 @@ of popular news source urls.. In case you need help choosing a news source! >>> newspaper.languages() - Your available langauges are: + Your available languages are: input code full name ar Arabic @@ -259,4 +259,4 @@ of popular news source urls.. In case you need help choosing a news source! sv Swedish zh Chinese - \ No newline at end of file +