Module Import alias Import alias Import alias Import alias Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq CompareIn Str NameLoad NameLoad body Assign NameStore BinOpAdd Str NameLoad If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str Index Str orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str Index Num Index Str orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str Index Str orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Index Str Index Str If CompareNotEq NameLoad Str body Print NameLoad orelse Print Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A urllib N/A urllib2 N/A json N/A argparse N/A api N/A bitly jmp tcn isgd vgd tinycc https://api-ssl.bitly.com/v3/shorten?format=json&login=hzlzh&apiKey=R_e8bcc43adaa5f818cc5d8a544a17d27d&longUrl= http://api.j.mp/v3//shorten?format=json&login=hzlzh&apiKey=R_e8bcc43adaa5f818cc5d8a544a17d27d&longUrl= https://api.weibo.com/2/short_url/shorten.json?access_token=2.00WSLtpB0GRHJ9745670860ceNWWiC&source=5786724301&url_long= http://is.gd/create.php?format=json&url= http://v.gd/create.php?format=json&url= http://tiny.cc/?c=rest_api&m=shorten&version=2.0.3&format=json&shortUrl=&login=hzlzh&apiKey=9f175aa2-ff30-4df5-b958-1346c59b4884&longUrl= getLink N/A N/A service url N/A N/A N/A terms N/A N/A urllib quote_plus N/A N/A url strip N/A url N/A service terms N/A data N/A N/A N/A N/A urllib2 urlopen url read N/A data N/A main N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Shorten URL using the following services: bit.ly, j.mp, t.cn, is.gd, v.gd, tiny.cc. N/A N/A N/A parser add_argument url help Enter the URL to shorten here N/A N/A N/A parser add_argument -j --jmp help use j.mp to shorten url action store_true N/A N/A N/A parser add_argument -t --tcn help use t.cn to shorten url action store_true N/A N/A N/A parser add_argument -i --isgd help use is.gd to shorten url action store_true N/A N/A N/A parser add_argument -v --vgd help use v.gd to shorten url action store_true N/A N/A N/A parser add_argument -c --tinycc help use tiny.cc to shorten url action store_true N/A N/A N/A parser add_argument -V --version action version version %(prog)s 1.0 N/A args N/A N/A parser parse_args N/A url N/A args url N/A N/A N/A http url False N/A N/A url N/A http:// url N/A N/A args jmp N/A N/A service N/A api N/A jmp N/A output N/A N/A N/A N/A json loads N/A getLink service url N/A data N/A url N/A N/A N/A args tcn N/A N/A service N/A api N/A tcn N/A output N/A N/A N/A N/A N/A json loads N/A getLink service url N/A urls N/A 0 N/A url_short N/A N/A N/A args isgd N/A N/A service N/A api N/A isgd N/A output N/A N/A N/A json loads N/A getLink service url N/A shorturl N/A N/A N/A args vgd N/A N/A service N/A api N/A vgd N/A output N/A N/A N/A json loads N/A getLink service url N/A shorturl N/A N/A N/A args tinycc N/A N/A service N/A api N/A tinycc N/A output N/A N/A N/A N/A json loads N/A getLink service url N/A results N/A short_url N/A N/A service N/A api N/A bitly N/A output N/A N/A N/A N/A json loads N/A getLink service url N/A data N/A url N/A N/A output N/A N/A output N/A N/A Try again! N/A N/A N/A __name__ __main__ N/A N/A N/A main