#!/usr/bin/env python
#-*- coding:utf-8 –*-
"""
高速社工库查询
By:0xev4l
..┏┓ ┏┓
┏┛┻━━━┛┻┓
┃ ┃
┃ ━ ┃
┃ ┳┛ ┗┳ ┃
┃ ┃
┃ ┻ ┃
┃ ┃
┗━┓ ┏━┛
┃ ┃
┃ ┃
┃ ┗━━━┓
┃ ┣┓
┃ ┏┛
┗┓┓┏━┳┓┏┛
┃┫┫ ┃┫┫ 草泥马保平安 写代码无bug
┗┻┛ ┗┻┛
"""
import urllib
import urllib2
import re
number = raw_input('please enter a keywords > ')
url = "http://www.soyun.org/cha_api.php?so="+number+"&auto="
req = urllib2.Request(url)
res_data = urllib2.urlopen(req)
res = res_data.read()
patt = re.compile(r"(.*?)
")
patt2 = re.compile(r"(.*?)")
lists = patt.findall(res)
for s in lists:
data = patt2.findall(s)
print 'UserName:'+data[0]+"\nPassoword:"+data[1]