Added graceful exit if the course name if not valid
Merge pull request #32 from xsyn/master

Exception handling on course name.
README.md: Make lines at most 80 characters long.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
README.md: Add more comments about Beautiful Soup 4.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Make docstring lines shorter than 80 characters.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Fix docstring placement.

A docstring is only a valid docstring if it is the first statement in a
function, method, class or module:

    http://www.python.org/dev/peps/pep-0257/

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Minor cosmetic enhancement of docstrings.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Fix imports to be compliant with PEP-8.

While we are at it, remove duplicate import of the `tempfile` module.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Remove unused `urlparse` module.

My memory-starved (128MB total memory) NAS will thank us for this change.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
coursera-dl: Add import of the `errno` module.

The `errno` module is used in the function `mkdir_p` and the script will
stop working in the very common case of the destination directories already
existing.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Merge pull request #34 from rbrito/fixes/code-quality

Fixes/code quality
updated python version requirement to > 2.5
Avoid finding all urls when we only want the first one.
Merge pull request #35 from rbrito/avoid-useless-parsing

Avoid finding all urls when we only want the first one.
Add cURL support.
Merge pull request #36 from eataix/curl

Add cURL support.
Works with Coursera's updated website. Added HTTPError handling as well.
Works with Coursera's updated website; also, added HTTPError handling
Merge pull request #38 from rteslaru/master

Coursera Website Update
ignore .pyc files