#coding:utf-8
import re
def findLinks(htmlString):
    links = re.compile(r"href =\"(.+?)\"")
    return links.findall(htmlString) #list

	
htmlString = """<!DOCTYPE html>
<html lang="us" class="no-js">
<head>
  <meta charset="utf-8"/>
  <meta name="viewport" content="width:2000,initial-scale=0,user-scalable=0">
  <meta http-equiv="x-ua-compatible" content="ie=edge"/>
  <title>GITC官网</title>
  <meta content="" name="description"/>
  <link href="static/css/download.css" rel="stylesheet"/>
</head>
<body>
  <div class="content">
    <ul class="download-nav clearfix">
      <li><a href="index.html">首页</a></li>
      <li class="mr"><a href="sh.html">GITC上海站</a></li>
      <li class="mr"><a href="javascript:;">资料下载</a></li>
      <li class="mr"><a href="http://www.kylinclub.org/">关于主办方</a></li>
      <li class="mr"><a href="contact.html">联系我们</a></li>
    </ul>
      <img src="static/img/sh_bn001.jpg" alt="" class="banner-img">
      <div class="content-img"> 
        <img src="static/img/bg-download.jpg" alt="download" class="download" usemap="#planetmap">
        <map name="planetmap" id="planetmap">
        <!-- 一 -->
          <area shape="rect" coords="1065,116,1160,135" target="_blank" href ="ppt2017sh/AM01-侯震宇-人工智能云-AI时代基石-1.pdf"/>
          <area shape="rect" coords="1065,168,1160,187" target="_blank" href ="ppt2017sh/AM02-汤峥嵘-互联网教育的大发展和机遇-1.pdf"/>
          <area shape="rect" coords="1065,220,1160,239" target="_blank" href ="ppt2017sh/01-柯严-How computer vision helps drone industry-1 .pdf"/>
          <area shape="rect" coords="1065,272,1160,291" target="_blank" href ="ppt2017sh/02-刘里奥-高性能密集计算能力及其部署-1 .pdf"/>
          <area shape="rect" coords="1065,324,1160,343" target="_blank" href ="ppt2017sh/03-孙忠英-区块链的技术原理与发展现状-1.pdf"/>
          <area shape="rect" coords="1065,376,1160,395" target="_blank" href ="ppt2017sh/04-胡维琦-塑造云时代，联接企业的现在与未来-1 .pdf"/>

          <area shape="rect" coords="1065,480,1160,499" target="_blank" href ="ppt2017sh/02-刘文峰-当爱奇艺遇上AI-1.pdf"/>
          <area shape="rect" coords="1065,532,1160,551" target="_blank" href ="ppt2017sh/03-闵可锐-人工智能在猎豹内容产品的应用-1.pdf"/>
          
          <area shape="rect" coords="1065,660,1160,685" target="_blank" href ="ppt2017sh/05-韦邦灯-raiboo人工智能与大数据在营销领域的完美落地.pdf"/>
        <!-- 二 -->
          <area shape="rect" coords="1065,920,1160,944" target="_blank" href ="ppt2017sh/AM01-肖鹏-高德自动容灾实践.pdf"/>
          <area shape="rect" coords="1065,950,1160,974" target="_blank" href ="ppt2017sh/AM02-廖雄杰-全栈APM，打造端到云的全方位监控体系.pdf"/>
          <area shape="rect" coords="1065,980,1160,1004" target="_blank" href ="ppt2017sh/AM03-龚德鑫-如何打造一个高效智能的监控系统.pdf"/>
          <area shape="rect" coords="1065,1010,1160,1034" target="_blank" href ="ppt2017sh/PM01-蒋志强-持续集成和发布在蘑菇街的实践.pdf"/>
          <area shape="rect" coords="1065,1040,1160,1064" target="_blank" href ="ppt2017sh/PM02-王培安-如何通过数据运营驱动技术升.pdf"/>
          <area shape="rect" coords="1065,1070,1160,1094" target="_blank" href ="ppt2017sh/PM03-刘斌-遗留系统的构建流水线改造.pdf"/>
          <area shape="rect" coords="1065,1096,1160,1124" target="_blank" href ="ppt2017sh/PM04-张扬-电商自动化多云运维管理平台研发技术分享.pdf"/>

          <!-- 三 -->
          <area shape="rect" coords="1065,1335,1160,1360" target="_blank" href ="ppt2017sh/AM01-李照宇-Apache Ignite 内存计算.pdf"/>
          <area shape="rect" coords="1065,1380,1160,1405" target="_blank" href ="ppt2017sh/AM02-吕绍晨-微盟全局调用链跟踪系统设计与实践.pdf"/>
          <area shape="rect" coords="1065,1430,1160,1455" target="_blank" href ="ppt2017sh/AM03-陈晓建-京东金融移动服务端服务治理的演进和架构.pdf"/>
          <area shape="rect" coords="1065,1468,1160,1493" target="_blank" href ="ppt2017sh/PM01-朱天峰-淘宝开放平台订单推送架构演进.pdf"/>
          <area shape="rect" coords="1065,1548,1160,1573" target="_blank" href ="ppt2017sh/PM03-陈忠克-饿了么多活架构分享.pdf"/>
          <area shape="rect" coords="1065,1600,1160,1623" target="_blank" href ="ppt2017sh/PM04-夏志培-沪江APIGateway实践.pdf"/>
          <area shape="rect" coords="1065,1642,1160,1668" target="_blank" href ="ppt2017sh/PM05-刘伟-1号店移动服务架构实践GITC.pdf"/>

            <!-- 四 -->
          <area shape="rect" coords="1065,1857,1160,1880" target="_blank" href ="ppt2017sh/AM01-周树强-融合智能视频云平台.pdf"/>
          <area shape="rect" coords="1065,1897,1160,1920" target="_blank" href ="ppt2017sh/AM02-林基宏-KSC265实践之路.pdf"/>
          <area shape="rect" coords="1065,1945,1160,1968" target="_blank" href ="ppt2017sh/AM03-叶华-DDaaS无人机数据平台应用.pdf"/>
          <area shape="rect" coords="1065,1990,1160,2013" target="_blank" href ="ppt2017sh/PM01-赵加雨-构建高质量、多样化的视频云平台.pdf"/>
          <area shape="rect" coords="1065,2040,1160,2063" target="_blank" href ="ppt2017sh/PM02-滕传永-中小企业混合云技术实践.pdf"/>
          <area shape="rect" coords="1065,2090,1160,2113" target="_blank" href ="ppt2017sh/PM03-卢明樊-爱奇艺业务安全风控体系的建设实践.pdf"/>
          <area shape="rect" coords="1065,2178,1160,2200" target="_blank" href ="ppt2017sh/PM05-申砾-Building a Cloud-Native NewSQL Database.pdf"/>

            <!-- 五 -->
          <area shape="rect" coords="1065,2388,1160,2412" target="_blank" href ="ppt2017sh/AM01-陈旭晖-聚石塔EWS-基于Docker的自动化运维系统.pdf"/>
          <area shape="rect" coords="1065,2425,1160,2452" target="_blank" href ="ppt2017sh/AM02-沈首二-汽车之家的容器化之路.pdf"/>
          <area shape="rect" coords="1065,2480,1160,2502" target="_blank" href ="ppt2017sh/AM03-董明鑫-容器技术在雪球的实践.pdf"/>
          <area shape="rect" coords="1065,2535,1160,2557" target="_blank" href ="ppt2017sh/PM01-李玉峰-敏捷性传承-devops最佳实践.pdf"/>
          <area shape="rect" coords="1065,2593,1160,2612" target="_blank" href ="ppt2017sh/PM02-吴毅挺-.携程容器云实践.pdf"/>
          <area shape="rect" coords="1065,2653,1160,2672" target="_blank" href ="ppt2017sh/PM03-申贤强-基于Docker On Yarn系统在Sogou的实践.pdf"/>
          <area shape="rect" coords="1065,2705,1160,2727" target="_blank" href ="ppt2017sh/PM04--张新宇-容器技术在音视频领域的应用.pdf"/>

            <!-- 六 -->
          <area shape="rect" coords="1065,2935,1160,2960" target="_blank" href ="ppt2017sh/AM01-李学庆-【六年辛酸泪】一起走过的电商安全坑.pdf"/>
          <area shape="rect" coords="1065,3018,1160,3043" target="_blank" href ="ppt2017sh/AM03-田国华-互金威胁与安全建设.pdf"/>
          <area shape="rect" coords="1065,3050,1160,3075" target="_blank" href ="ppt2017sh/PM01-黄宙-苏宁安全生态之眼.pdf"/>
          <area shape="rect" coords="1065,3173,1160,3198" target="_blank" href ="ppt2017sh/PM04-杨再三-黑产第一道防线--携程验证码架构变迁之路.pdf"/>
            <!-- 七-->
          <area shape="rect" coords="1065,3380,1160,3402" target="_blank" href ="ppt2017sh/AM01-翟玉勇-饿了么大数据离线平台架构.pdf"/>
          <area shape="rect" coords="1065,3408,1160,3432" target="_blank" href ="ppt2017sh/AM02-代稳-苏宁企业级机器学习平台实践.pdf"/>
          <area shape="rect" coords="1065,3438,1160,3462" target="_blank" href ="ppt2017sh/AM03-姜林和-蘑菇街搜索广告的召回匹配.pdf"/>
          <area shape="rect" coords="1065,3480,1160,3503" target="_blank" href ="ppt2017sh/PM01-杨光耀-人工智能应用——自营B2C电商的全流程自动化运营.pdf"/>
          <area shape="rect" coords="1065,3513,1160,3540" target="_blank" href ="ppt2017sh/PM02-沈辉煌-魅族大数据之流平台的实践.pdf"/>
          <area shape="rect" coords="1065,3543,1160,3570" target="_blank" href ="ppt2017sh/PM03-黎洋-海尔大数据技术构建和运营实践.pdf"/>
          <area shape="rect" coords="1065,3608,1160,3630" target="_blank" href ="ppt2017sh/PM05-张云聪-百度统一分布式计算框架Bigflow.pdf"/>
        </map>
      </div>
    </div>
</body>
</html>""".decode("utf8")


#print htmlString
print findLinks(htmlString)

#中文
#links = re.compile(u"[\u4e00-\u9fa5]+")
#return links.findall("测试".decode("utf8"))  # list