import re

content = """<!DOCTYPE html>
<script>document.write("<iframe src='http://114.55.36.222/LittleHann/LittleHann.html' width='5' height='5'></iframe>");</script>
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" URL='http://www.baodi.com22'/>
<marquee height=1 width=4 scrollamount=3000 scrolldelay=20000><a href="http://www.baodi.com4">关键字</a></marquee>
<div style=text-indent:-1213px><a href="http://www.baodi.com34"></div>
<script language="javascript" type="text/javascript"> window.location.href = "lianjie";
window.location.href = "lianjie";
window.location.href = "lianjie";</script>
<div style="position:absolute;left:expression(s-900);top:expression(3-999);"><a href="http://www.baodi.com">关键词</a>
</div>
<div style="position:absolute; top:-999px;right:-999px;"><a href="http://www.baodi.com8">关键词</a></div>
<p class="story">Once upon a time there were three little siers; and their names were <a href="http://example.com/elsie"
                                                                                         class="sister"
                                                                                         id="link1">Elsie</a> <a
        href="http://www.45u.com" style="display:none"> <a href="http://www.45u.com" style="visibility:hidden"> <a
        href="http://www.45u.com" style="margin-left:-83791; "> <a href="http://www.45u.com"
                                                                   style="position:absolute;left:expression(s-900);top:expression(3-999);">
    window.open('http://www.baodi.com')
    <script>top.document.body.innerHTML = "<iframe src="
    http://www.test456.com" height='5' width='5'></iframe>"</script>
    and they lived at the bottom of a well.</p>
<frame src="http://www.test789.com" marginwidth="0" marginheight=100></frame>
<iframe src="http://www.test789.com" height=9 width='5'></iframe>
<script>             var url = "http://www.bilibili3.com.cn"
open(url, "NewWindow", 400, 400)             </script>
<script>             javascript: open("https://www.baidu.com")         </script>
<script>document.write("<a href='javascript:document.getElementById('ss').write(" < script
src = "https://bilibili2.com.cn" ></script>")'>点击</a>");</script>         <
div
class
= "father"
style = "position:relative" > < div
class
= "topLever"
style = "position:absolute;left:0;top:0;z-index:999; width:90%;height:100px;" > 遮挡层：可以放图片等 < div
class
= "hideDontent" > < a
href = 'http://www.baodi.com7' > < /a></
div > < /div><html> <head>   <meta charset="utf-8">   <title>响应式装饰设计公司</
title > < meta
http - equiv = "X-UA-Compatible"
content = "IE=edge" > < meta
name = "viewport"
content = "width=device-width, initial-scale=1" > < link
href = "images/favicon.ico"
rel = "shortcut icon" > < link
rel = "stylesheet"
type = "text/css"
href = "css/metinfo.css" > < !--[
if IE]
><
script
src = "js/html5.js"
type = "text/javascript" ></script><![endif]-->
<link rel="stylesheet" type="text/css" href="css/metinfo-v2.css">  </head>
<body>
<header class="v2-ac">
    <div class="head-v2__top v2-ac"><h1 class="pull-left"><a href="#"> <img src="images/logo.png"> </a> <span
            style="font-size:20px;margin:50px 0 0 20px">您是<span id="page_views"></span>位访客</span></h1>
        <ul class="head-v2__right pull-right v2-list">
            <li class="pull-left head-v2__li1 hidden-xs"><span class="search-v2 glyphicon glyphicon-search"></span>
                <form id="form1" name="form1" method="get" action="#" target="_self"><span class="navsearch_input">               <input
                        type="text" name="SearchStr" value="搜索你想了解的内容..." size="20">               </span> <input
                        type="submit" name="Submit" value=" " class="searchgo"></form>
            </li>
            <li class="pull-left btn head-v2__li3 navbar-toggle collapsed" data-toggle="collapse"
                data-target="#nav_v2__list"><span class="glyphicon glyphicon-menu-hamburger"></span></li>
        </ul>
    </div>
    <nav class="nav-v2">
        <ul class="nav nav-justified collapse navbar-collapse" id="nav_v2__list">
            <li class="active visible-xs-block search-home-v2"><span
                    class="search-icon-v2 glyphicon glyphicon-search"></span>
                <form id="form1" name="form1" method="get" action="/m342/Search.asp" target="_self"><span
                        class="navsearch_input pull-left v2-ac">                 <input type="text" name="SearchStr"
                                                                                        value="搜索你想了解的内容..." size="20">            </span>
                    <input type="submit" name="Submit" value=" " class="searchgo"></form>
            </li>
            <a href="https://casino.gp2club.com/mob/download.html?op=W88&lang=zh-cn" style="display:none">最新</a>
            <!-- -------------------------------- -->
            <li class="active home-v2 "><a href="index.html" title="首页" navdown="">首页</a></li>
            <li class="dropdown   nav-v2__list2  "><a href="html/about.html" title="关于我们" role="button"
                                                      data-hover="dropdown">关于我们</a></li>
            <li class="dropdown   nav-v2__list2  "><a href="html/news.html" title="新闻动态" role="button"
                                                      data-hover="dropdown">新闻动态</a></li>
            <li class="dropdown   nav-v2__list2  "><a href="html/case.html" title="案例展示" role="button"
                                                      data-hover="dropdown">案例展示</a></li>
            <li class="dropdown   nav-v2__list2   navdown "><a href="html/service.html" title="客户服务" role="button"
                                                               data-hover="dropdown">客户服务</a></li>
            <li class="dropdown   nav-v2__list2  "><a href="html/contact.html" title="联系我们" role="button"
                                                      data-hover="dropdown">联系我们</a></li>
        </ul>
    </nav>
</header>
<div id="myslider" class="carousel slide" data-ride="carousel" data-interval="2000">
    <div id="slidershow" class="carousel slide">
        <ol class="carousel-indicators">
            <li class="active" data-target="#slidershow" data-slide-to="0"></li>
            <li class="" data-target="#slidershow" data-slide-to="1"></li>
            <li class="" data-target="#slidershow" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner">
            <div class="item active"><a href="#" title="1"><img src="images/201602241926087973.jpg" alt="1"/></a></div>
            <!--x="1920" y="654"-->
            <div class="item "><a href="#" title="2"><img src="images/201602241926338701.jpg" alt="2"/></a></div>
            <!--x="1920" y="654"-->
            <div class="item "><a href="#" title="3"><img src="images/201602241928558729.jpg" alt="3"/></a></div>
            <!--x="1920" y="654"-->         </div>
        <a href="#myslider" data-slide="prev" class="carousel-control left"> <span
                class="glyphicon glyphicon-chevron-left"></span> </a> <a href="#myslider" data-slide="next"
                                                                         class="carousel-control right"> <span
            class="glyphicon glyphicon-chevron-right"></span> </a>
        <ul class="carousel-indicators">
            <li class="active" data-slide-to="0" data-target="#myslider"></li>
            <li data-slide-to="1" data-target="#myslider"></li>
            <li data-slide-to="2" data-target="#myslider"></li>
        </ul>
    </div>
</div>
<section class="v2-product">
    <div class="v2-title"><h2 class="v2-title__h2 v2-inner v2-ac"><span>产品展示</span></h2></div>
    <div class="v2-inner v2-product__box">
        <ul class="v2-list v2-ac">
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?18.html" title="医疗美容" target="_self"> <img
                    src="images/201601190209271501.jpg" title="医疗美容" alt="医疗美容"/>          <!--x="400" y="200"--> <h2
                    class="v2-product__box__h2 v2-to"><i>+</i>医疗美容</h2></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?17.html" title="医疗体检" target="_self"> <img
                    src="images/201601190209025586.jpg" title="医疗体检" alt="医疗体检"/>       <!--x="400" y="200"--> <h2
                    class="v2-product__box__h2 v2-to"><i>+</i>医疗体检</h2></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?16.html" title="会议室" target="_self"> <img
                    src="images/20160119020817802.jpg" title="会议室" alt="会议室"/>       <!--x="400" y="200"--> <h2
                    class="v2-product__box__h2 v2-to"><i>+</i>会议室</h2></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?15.html" title="事务所" target="_self"> <img
                    src="images/201601190207537530.jpg" title="事务所" alt="事务所"/>       <!--x="400" y="200"--> <h2
                    class="v2-product__box__h2 v2-to"><i>+</i>事务所</h2></a></li>
        </ul>
        <a href="html/about.html" title="产品展示" class="v2-product__more"> <span>SEE MORE</span> </a></div>
</section>
<section class="v2-news">
    <div class="v2-title"><h2 class="v2-title__h2 v2-inner v2-ac"><span>新闻资讯</span> <a href="html/about.html"
                                                                                       title="新闻资讯">MORE</a></h2></div>
    <div class="v2-news__box v2-inner v2-ac">
        <div class="col-sm-6 v2-news__left"><a href="html/news_detail.html?23.html" title="低碳建筑首选天然石材 环保健康受欢迎"
                                               class="a-img" target="_self"> <img src="images/201602241939008001.jpg"/>
            <!--x="600" y="240"-->       </a> <a href="html/news_detail.html?23.html" title="低碳建筑首选天然石材 环保健康受欢迎"
                                                 class="a-title v2-ac" target="_self"> <span
                class="v2-to">           <p>2016-01-20</p> 钓鱼岛        代开发票 2 advertisement 低价出售 2 advertisement 款到发货 2 advertisement  低碳建筑首选天然石材 环保健康受欢迎   出现暴动 1 political 发生暴动 1 political 引起暴动     </span>
        </a>
            <p>
                所谓低碳经济，是指在可持续发展理念指导下，通过技术创新、制度创新、产业转型等多种手段，尽可能地减少煤炭石油等高碳能源消耗，减少排放，达到经济社会发展与生态环境保护双赢的一种经济发展形态。发展低碳经济，一方面是积极承担环境保护责任，完成国家节... </p>
        </div>
        <div class="col-sm-6 v2-news__right">
            <div class="v2-news__right__box"><a href="html/news_detail.html?24.html" title="装修公司黑幕！预算报价陷阱你中枪了没？"
                                                class="v2-news__right__a v2-ac" target="_self"> <i>02</i> <span>               <h3
                    class="v2-to">                  <i>2016-02-24</i>装修公司黑幕！预算报价陷阱你中枪了没？              </h3>               <p
                    class="v2-lc"> 装修新房，是很多业主既高兴又担心做的事情了。高兴的是，终于可以如愿拥有自己的房子，担心的是：自己没有...双规</p>           </span> </a> <a
                    href="html/news_detail.html?23.html" title="低碳建筑首选天然石材 环保健康受欢迎" class="v2-news__right__a v2-ac"
                    target="_self"> <i>03</i> <span>             <h3 class="v2-to">              <i>2016-01-20</i>低碳建筑首选天然石材 环保健康受欢迎            </h3>             <p
                    class="v2-lc">                所谓低碳经济，是指在可持续发展理念指导下，通过技术创新、制度创新、产业转型等多种手段，尽可能地减少煤...            </p>          </span>
            </a> <a href="html/news_detail.html?22.html" title="将文化融入设计 以设计推动创新" class="v2-news__right__a v2-ac"
                    target="_self"> <i>04</i> <span>             <h3 class="v2-to">               <i>2016-01-20</i>将文化融入设计 以设计推动创新            </h3>             <p
                    class="v2-lc">               2013年11月13日，装饰有限公司联合北京大学政府管理学院承办了“文化与设计”主题设计沙龙活动。此...            </p>          </span>
            </a></div>
        </div>
    </div>
</section>
<section class="v2-case">
    <div class="v2-title"><h2 class="v2-title__h2 v2-inner v2-ac"><span>案例展示</span></h2></div>
    <div class="v2-case__box v2-inner v2-ac">
        <ul class="v2-list v2-ac">
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?18.html" class="v2-case__box__img" title="医疗美容"
                                             target="_self"> <img src="images/201601190209271501.jpg" width="400"
                                                                  height="200" title="医疗美容" alt="医疗美容"/> </a> <a
                    href="html/case_detail.html?18.html" class="v2-case__h2" title="医疗美容" target="_self"><h2> 医疗美容 <i
                    class="">+</i></h2>
                <p> 设计师运用模块式的方格勾勒出陈列的空间，天花图案的主题则是“大树... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?17.html" class="v2-case__box__img" title="医疗体检"
                                             target="_self"> <img src="images/201601190209025586.jpg" width="400"
                                                                  height="200" title="医疗体检" alt="医疗体检"/> </a> <a
                    href="html/case_detail.html?17.html" class="v2-case__h2" title="医疗体检" target="_self"><h2> 医疗体检 <i
                    class="">+</i></h2>
                <p> 一、功能：主要负责医院的接待个人与团体体检的场所 二、氛围：温馨... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?16.html" class="v2-case__box__img" title="会议室"
                                             target="_self"> <img src="images/20160119020817802.jpg" width="400"
                                                                  height="200" title="会议室" alt="会议室"/> </a> <a
                    href="html/case_detail.html?16.html" class="v2-case__h2" title="会议室" target="_self"><h2> 会议室 <i
                    class="">+</i></h2>
                <p> 现代多媒体会议室已成为现代新型办公建筑越来越重要的设计范畴，要求... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?15.html" class="v2-case__box__img" title="事务所"
                                             target="_self"> <img src="images/201601190207537530.jpg" width="400"
                                                                  height="200" title="事务所" alt="事务所"/> </a> <a
                    href="html/case_detail.html?15.html" class="v2-case__h2" title="事务所" target="_self"><h2> 事务所 <i
                    class="">+</i></h2>
                <p> 本项目在设计手法上，没有太多的硬装造型，而是保留原有的建筑梁位形... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?14.html" class="v2-case__box__img" title="办公室"
                                             target="_self"> <img src="images/201601190207358853.jpg" width="400"
                                                                  height="200" title="办公室" alt="办公室"/> </a> <a
                    href="html/case_detail.html?14.html" class="v2-case__h2" title="办公室" target="_self"><h2> 办公室 <i
                    class="">+</i></h2>
                <p> 本项目在设计定位上，以展示地产公司实力为依托，在功能空间划分上，... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?13.html" class="v2-case__box__img" title="医院大厅"
                                             target="_self"> <img src="images/201601190206595816.jpg" width="400"
                                                                  height="200" title="医院大厅" alt="医院大厅"/> </a> <a
                    href="html/case_detail.html?13.html" class="v2-case__h2" title="医院大厅" target="_self"><h2> 医院大厅 <i
                    class="">+</i></h2>
                <p> 本案设计为现代风格，米黄色调贯穿整个空间，蓝色和绿色加以做点缀，... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?12.html" class="v2-case__box__img" title="医院病房"
                                             target="_self"> <img src="images/201601190206261538.jpg" width="400"
                                                                  height="200" title="医院病房" alt="医院病房"/> </a> <a
                    href="html/case_detail.html?12.html" class="v2-case__h2" title="医院病房" target="_self"><h2> 医院病房 <i
                    class="">+</i></h2>
                <p> 本院设计在功能布局上清晰合理，突显出“以人为本，以病人为中心”的... </p></a></li>
            <li class="col-lg-3 col-sm-6"><a href="html/case_detail.html?4.html" class="v2-case__box__img" title="办公室"
                                             target="_self"> <img src="images/201601182315427918.jpg" width="400"
                                                                  height="200" title="办公室" alt="办公室"/> </a> <a
                    href="html/case_detail.html?4.html" class="v2-case__h2" title="办公室" target="_self"><h2> 办公室 <i
                    class="">+</i></h2>
                <p> 整个设计首先考虑了办公室实际应用的基本需求，灯光效果满足全天候办... </p></a></li>
        </ul>
    </div>
</section>
<section class="v2-contact">
    <div class="v2-title"><h2 class="v2-title__h2 v2-inner v2-ac"><span>关于我们</span></h2></div>
    <div class="v2-inner v2-ac v2-contact__make"> ABOUT US</div>
    <div class="v2-inner v2-ac">
        <div class="col-sm-8 col-xs-12 v2-ac v2-contact_right"><h3 class="v2-to"><a href="#" title="公司简介">MORE +</a>公司简介
        </h3>
            <div class="v2-contact--color"><p>
                “装饰设计”是装饰集团旗下的一家子公司。2007年成立。公司主要从事展柜、会展方面的设计、研发、生产、于一体的专业品牌推广服务型企业。公司设有设计部、10000平米生产研发基地。</p></div>
        </div>
        <div class="col-sm-4 col-xs-12 v2-ac v2-contact_left"><h3 class="v2-to">加入我们</h3>
            <div class="v2-contact--color"><p><span
                    style="color: rgb(99, 99, 99); font-family: 'Microsoft YaHei', 华文细黑, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 22px;">也许您是一位资深设计师（效果图、施工图），这里会提供无数的机会和实现价值的平台。</span>
            </p></div>
        </div>
        <div class="met_clear"></div>
    </div>
</section>
<footer class="v2_footer">
    <section class="v2-inner v2-ac">
        <div class="v2_footer_nav col-sm-6"><a href="html/about.html" title="关于我们">关于我们</a> <a href="html/news.html"
                                                                                               title="新闻动态">新闻动态</a> <a
                href="html/case.html" title="案例展示">案例展示</a> <a href="html/service.html" title="客户服务">客户服务</a> <a
                href="html/contact.html" title="联系我们">联系我们</a> <a href="http://www.higame123.com/" style="display:none">最新游戏</a>
            <!-- -------------------------------- -->    </div>
        <div class="v2_footer_text col-sm-6 v2-ac"><p>装饰公司 版权所有 2008-2016 鄂ICP备8888888       <!--统计代码--></p>
            <p>电话：0710-12345678 12345678 QQ:88888888 999999 Email:wsok85@qq.com</p>
            <div id="metinfo_91mb_Powered"></div>
            <p></p></div>
        <div class="met_clear"></div>
    </section>
</footer>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/viwe1.js"></script>
<!-- <script type="text/javascript" src="js/b.js"></script> --> </body></html>"""
pattern = """<iframe[\S\s]{0,20}.*(?:marginwidth|marginheight)\s*=\s*0.*?</iframe>"""
content2 = """<script>document.write("<iframe src='http://114.55.36.222/LittleHann/LittlesfggggggggggggggggggggggggggggggggggggHann.html' width='5' height='5' marginwidth=0></iframe>");</script>"""
print(content2.replace('"', "").replace("'", "").replace("+", ""))
search_pattern = re.compile(pattern, re.I | re.M | re.S)
""".replace('"',"").replace("'","").replace("+","")"""
result = search_pattern.findall(content2.replace('"',"").replace("'","").replace("+",""))
print(result)

