37,743
社区成员




function LetterStorage(){
this.letterJson = {
"A" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aba.wxcs.cn/&areacode=513200",name:"阿坝"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://akesu.wxcs.cn/&areacode=652900",name:"阿克苏"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://alashan.wxcs.cn/&areacode=152900",name:"阿拉善"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aletai.wxcs.cn/&areacode=654300",name:"阿勒泰"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://ankang.wxcs.cn/&areacode=610900",name:"安康"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anqing.wxcs.cn/&areacode=340800",name:"安庆"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshan.wxcs.cn/&areacode=210300",name:"鞍山"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshun.wxcs.cn/&areacode=520400",name:"安顺"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anyang.wxcs.cn/&areacode=410500",name:"安阳"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://atushi.wxcs.cn/&areacode=653000",name:"阿图什"} ],"B" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baicheng.wxcs.cn/&areacode=220800",name:"白城"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baise.wxcs.cn/&areacode=451000",name:"百色"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baisha.wxcs.cn/&areacode=469025",name:"白沙"} ,
import re
pattern = re.compile(r'url=(http.*?)"', re.I | re.M)
js = """function LetterStorage(){
this.letterJson = {
(
) "A" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aba.wxcs.cn/&areacode=513200",name:"阿坝"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://akesu.wxcs.cn/&areacode=652900",name:"阿克苏"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://alashan.wxcs.cn/&areacode=152900",name:"阿拉善"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aletai.wxcs.cn/&areacode=654300",name:"阿勒泰"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://ankang.wxcs.cn/&areacode=610900",name:"安康"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anqing.wxcs.cn/&areacode=340800",name:"安庆"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshan.wxcs.cn/&areacode=210300",name:"鞍山"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshun.wxcs.cn/&areacode=520400",name:"安顺"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anyang.wxcs.cn/&areacode=410500",name:"安阳"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://atushi.wxcs.cn/&areacode=653000",name:"阿图什"} ],"B" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baicheng.wxcs.cn/&areacode=220800",name:"白城"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baise.wxcs.cn/&areacode=451000",name:"百色"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baisha.wxcs.cn/&areacode=469025",name:"白沙"} ,
"""
urls = pattern.findall(js)
for url in urls:
print url
http://aba.wxcs.cn/&areacode=513200
http://akesu.wxcs.cn/&areacode=652900
http://alashan.wxcs.cn/&areacode=152900
http://aletai.wxcs.cn/&areacode=654300
http://ankang.wxcs.cn/&areacode=610900
http://anqing.wxcs.cn/&areacode=340800
http://anshan.wxcs.cn/&areacode=210300
http://anshun.wxcs.cn/&areacode=520400
http://anyang.wxcs.cn/&areacode=410500
http://atushi.wxcs.cn/&areacode=653000
http://baicheng.wxcs.cn/&areacode=220800
http://baise.wxcs.cn/&areacode=451000
http://baisha.wxcs.cn/&areacode=469025
import re
pattern = re.compile(r'link:"(http.*?)"', re.I | re.M)
js = """function LetterStorage(){
this.letterJson = {
(
) "A" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aba.wxcs.cn/&areacode=513200",name:"阿坝"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://akesu.wxcs.cn/&areacode=652900",name:"阿克苏"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://alashan.wxcs.cn/&areacode=152900",name:"阿拉善"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://aletai.wxcs.cn/&areacode=654300",name:"阿勒泰"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://ankang.wxcs.cn/&areacode=610900",name:"安康"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anqing.wxcs.cn/&areacode=340800",name:"安庆"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshan.wxcs.cn/&areacode=210300",name:"鞍山"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anshun.wxcs.cn/&areacode=520400",name:"安顺"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://anyang.wxcs.cn/&areacode=410500",name:"安阳"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://atushi.wxcs.cn/&areacode=653000",name:"阿图什"} ],"B" : [ {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baicheng.wxcs.cn/&areacode=220800",name:"白城"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baise.wxcs.cn/&areacode=451000",name:"百色"} , {link:"http://guangzhou.wxcs.cn/nav/toCity?url=http://baisha.wxcs.cn/&areacode=469025",name:"白沙"} ,
"""
urls = pattern.findall(js)
for url in urls:
print url
http://guangzhou.wxcs.cn/nav/toCity?url=http://aba.wxcs.cn/&areacode=513200
http://guangzhou.wxcs.cn/nav/toCity?url=http://akesu.wxcs.cn/&areacode=652900
http://guangzhou.wxcs.cn/nav/toCity?url=http://alashan.wxcs.cn/&areacode=152900
http://guangzhou.wxcs.cn/nav/toCity?url=http://aletai.wxcs.cn/&areacode=654300
http://guangzhou.wxcs.cn/nav/toCity?url=http://ankang.wxcs.cn/&areacode=610900
http://guangzhou.wxcs.cn/nav/toCity?url=http://anqing.wxcs.cn/&areacode=340800
http://guangzhou.wxcs.cn/nav/toCity?url=http://anshan.wxcs.cn/&areacode=210300
http://guangzhou.wxcs.cn/nav/toCity?url=http://anshun.wxcs.cn/&areacode=520400
http://guangzhou.wxcs.cn/nav/toCity?url=http://anyang.wxcs.cn/&areacode=410500
http://guangzhou.wxcs.cn/nav/toCity?url=http://atushi.wxcs.cn/&areacode=653000
http://guangzhou.wxcs.cn/nav/toCity?url=http://baicheng.wxcs.cn/&areacode=220800
http://guangzhou.wxcs.cn/nav/toCity?url=http://baise.wxcs.cn/&areacode=451000
http://guangzhou.wxcs.cn/nav/toCity?url=http://baisha.wxcs.cn/&areacode=469025