Overload the print function to fix #39 and #51. It is a better implementation alternate of #55.
Skip the replacement if a stream is set, because the Windows Console bug only appears when printing to screen.
Remove the incorrect fix for encoding issue at youtube_stdout.
Detect the encoding of stdout, and filter output according to this encoding.
Skip the filtering for all non-stdout stream.
Generalize the overload of print. It now supports different streams, and filter out the unprintable characters at the last stage.
`sys.stdout.encoding` might be None according to docs. In this case, it will use the default encoding.
add support for usyd-sit videos
Rename usyd to usyd-sit
Handle a video with no subtitles more gracefully
Merge pull request #99 from shk3/console_encoding2

Overload print function to filter out unprintable characters especially for the encoding bug of Windows console
edx-dl: course-selector: Fix downloads from Stanford. Closes #121.

Apparently, almost every relevant site has already migrated to newer
versions of Open edX, which means that we should not see any problems with
this unconditional change.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
Merge pull request #111 from harrisony/usyd

Add University of Sydney, School of IT.

Thanks @harrisony for the contribution.
fix silly typo in finding subtitle urls