<s> import gettor . core <EOL> try : <EOL> core = gettor . core . Core ( ) <EOL> links = core . get_links ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> print links <EOL> except gettor . core . ConfigError as e : <EOL> print "<STR_LIT>" + str ( e ) <EOL> except gettor . core . UnsupportedOSError as e : <EOL> print "<STR_LIT>" + str ( e ) <EOL> except gettor . core . UnsupportedLocaleError as e : <EOL> print "<STR_LIT>" + str ( e ) <EOL> except gettor . core . InternalError as e : <EOL> print "<STR_LIT>" + str ( e ) </s>
