{"id":59495,"date":"2025-04-23T12:47:31","date_gmt":"2025-04-23T04:47:31","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59495\/"},"modified":"2025-04-23T12:47:31","modified_gmt":"2025-04-23T04:47:31","slug":"%e5%a6%82%e4%bd%95%e4%bd%9cecshop%e6%8c%87%e7%ba%b9%e8%af%86%e5%88%ab%e7%89%88%e6%9c%ac%e5%88%a4%e6%96%ad%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59495\/","title":{"rendered":"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801"},"content":{"rendered":"<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> ECShop\u6307\u7eb9\u8bc6\u522b\u53ea\u662f\u4ece\u4ee5\u4e0b\u4e09\u4e2a\u5165\u624b\uff1a<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 1.meta\u6570\u636e\u5143\u8bc6\u522b<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 2.intext\uff1apowered by ECShop<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 3.robots.txt<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u6211\u4eec\u6253\u5f00\u4e00\u4e2aECShop\u7f51\u7ad9\uff0c\u770b\u770b\u9875\u9762\u4e2d\u8fd9\u51e0\u65b9\u9762\u7684\u7279\u5f81\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 1.\u6211\u4eec\u73b0\u5728\u770b\u770bmeta\u6807\u7b7e\u4e2d\u6709\u4ec0\u4e48\u7279\u5f81\u3002\u4e0b\u9762\u662f\u6211\u622a\u53d6\u7684\u4e00\u6bb5HTML\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> <img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/141219\/1-14121914415aN.jpg\" style=\"width: 523px;height: 88px\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe\" alt=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe\" \/><\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u7f51\u7ad9\u5bf9meta\u6807\u7b7e\u6ca1\u6709\u5904\u7406\uff0c\u4fdd\u7559\u4e86ECShop\u7684\u539f\u59cbmeta\u3002\u7f51\u7ad9\u662fECShop\u53ca\u5176\u7248\u672c\u662f2.7.2\u3002\u6b64\u5904\u4e5f\u662f\u505a\u7248\u672c\u8bc6\u522b\u7684\u5730\u65b9\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 2.\u518d\u5f80\u4e0b\u67e5\u770b\u7f51\u9875<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u6211\u4eec\u53d1\u73b0\u5728footer\u4e2d\u6709Powered&nbsp;by ECShop<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> <img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/141219\/1-1412191442122J.jpg\" style=\"width: 665px;height: 240px\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe1\" alt=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe1\" \/><\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u7f51\u7ad9\u5bf9ECShop\u7684footer\u6ca1\u6709\u4fee\u6539\uff0c\u4fdd\u7559\u4e86ECShop\u7684\u539f\u59cb\u7684footer\uff0c\u6b64\u5904\u6211\u4eec\u53ef\u4ee5\u8bc6\u522bECShop\u53ca\u5176\u7248\u672c\u3002\u7531\u4e8e\u4e00\u822c\u7f51\u7ad9\u4fee\u6539\u6b64\u5904\u7684\u8f83\u591a\uff0c\u8fd9\u91cc\u5c31\u4e0d\u505a\u7248\u672c\u8bc6\u522b\u4e86\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> 3.\u5bf9robots.txt\u5185\u5bb9\u7684\u68c0\u67e5<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> robots.txt\u6587\u4ef6\u662f\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u3002robots.txt\u662f\u4e00\u4e2a\u534f\u8bae\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u547d\u4ee4\u3002robots.txt\u662f\u641c\u7d22\u5f15\u64ce\u4e2d\u8bbf\u95ee\u7f51\u7ad9\u7684\u65f6\u5019\u8981\u67e5\u770b\u7684\u7b2c\u4e00\u4e2a\u6587\u4ef6\u3002robots.txt\u6587\u4ef6\u544a\u8bc9\u8718\u86db\u7a0b\u5e8f\u5728\u670d\u52a1\u5668\u4e0a\u4ec0\u4e48\u6587\u4ef6\u662f\u53ef\u4ee5\u88ab\u67e5\u770b\u7684\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u5f53\u4e00\u4e2a\u641c\u7d22\u8718\u86db\u8bbf\u95ee\u4e00\u4e2a\u7ad9\u70b9\u65f6\uff0c\u5b83\u4f1a\u9996\u5148\u68c0\u67e5\u8be5\u7ad9\u70b9\u6839\u76ee\u5f55\u4e0b\u662f\u5426\u5b58\u5728robots.txt\uff0c\u5982\u679c\u5b58\u5728\uff0c\u641c\u7d22\u673a\u5668\u4eba\u5c31\u4f1a\u6309\u7167\u8be5\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u6765\u786e\u5b9a\u8bbf\u95ee\u7684\u8303\u56f4\uff1b\u5982\u679c\u8be5\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u6240\u6709\u7684\u641c\u7d22\u8718\u86db\u5c06\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9\u4e0a\u6240\u6709\u6ca1\u6709\u88ab\u53e3\u4ee4\u4fdd\u62a4\u7684\u9875\u9762\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> \u90a3\u4e48\u8fd9\u53ef\u4ee5\u88ab\u6211\u4eec\u5229\u7528\uff0c\u4ee5\u8bc6\u522bECShop\uff0c\u770b\u4e0b\u9762\u622a\u56fe\uff0c\u6211\u4eec\u53d1\u73b0\u6709\u4e9b\u6587\u4ef6\u662fECShop\u7279\u6709\u7684\uff0c\u6bd4\u5982\uff1a\/affiche.php\u3001\/good_script.php\u3001\/feed.php\u3002\u90a3\u4e48\uff0c\u5982\u679c\u5b58\u5728\u8fd9\u51e0\u4e2a\u7279\u5f81\uff0c\u6211\u4eec\u53ef\u4ee5\u57fa\u672c\u786e\u5b9a\u8fd9\u5c31\u662f\u4e00\u4e2aECShop CMS\u4e86\u3002<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> <img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/141219\/1-141219144223R9.jpg\" style=\"width: 250px;height: 273px\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe2\" alt=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe2\" \/><\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;\u5c06ECShop\u6307\u7eb9\u5355\u72ec\u4fdd\u5b58\u4e3a\u8bc6\u522b\u5b57\u5178<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> <strong>ecshop_feature.py<\/strong><\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p><b>[python]<\/b>&nbsp;view plaincopy  &nbsp;    <\/p>\n<ol>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">#coding=utf-8<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">web-fingerprint&nbsp;plugin<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1.&nbsp;robots.txt&nbsp;detecting<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">2.&nbsp;Powered&nbsp;by&nbsp;Ecshop&nbsp;detecting<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">3.meta<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">matches&nbsp;=&nbsp;{&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;robots_for_ecshop&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/cert\/&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/templates\/&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/themes\/&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/upgrade\/&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/affiche.php&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/cycle_image.php&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/goods_script.php&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/region.php&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;Disallow:&nbsp;\/feed.php&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">],&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;intext&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;&lt;a&nbsp;href=&#8221;http:\/\/www.ecshop.com&#8221;&nbsp;target=&#8221;_blank&#8221;&nbsp;style=&#8221;&nbsp;font-family:Verdana;&nbsp;font-size:11px;&#8221;&gt;Powered&nbsp;by&nbsp;&lt;strong&gt;&lt;span&nbsp;style=&#8221;color:&nbsp;#3366FF&#8221;&gt;ECShop&lt;\/span&gt;&nbsp;&lt;span&nbsp;style=&#8221;color:&nbsp;#FF9966&#8243;&gt;v2.7.&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;&lt;a&nbsp;href=&#8221;http:\/\/www.ecshop.com\/license.php?product=ecshop_b2c&amp;url=&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">],&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;meta&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&nbsp;v2.7.3&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&nbsp;v2.7.2&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&nbsp;v2.7.1&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&nbsp;v2.7.0&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&nbsp;v2.6.2&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ECSHOP&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">],&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;title&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;Powered&nbsp;by&nbsp;ECShop&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">}&nbsp;&nbsp;<\/span><\/li>\n<\/ol>\n<p><span style=\"font-family: Arial;font-size: 14px;line-height: 26px\">\u4e0b\u9762\u662f\u8bc6\u522b\u4e3b\u7a0b\u5e8f\uff0c\u8f93\u5165\u56de\u8f66\u5206\u5272\u7684\u57df\u540d\u6587\u4ef6<\/span><br \/>\n <\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p><b>[python]<\/b>&nbsp;view plaincopy  &nbsp;    <\/p>\n<ol>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">#coding=utf-8<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">import<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;re&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">from<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;ecshop_feature&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">import<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;matches&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">import<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;urllib2&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">Ecshop&nbsp;\u6307\u7eb9\u8bc6\u522b<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1.meta\u6570\u636e\u5143\u8bc6\u522b<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">2.intext\u8bc6\u522b<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">3.robots.txt\u8bc6\u522b<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">class<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;EcshopDetector():&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;\u6784\u9020\u65b9\u6cd5\uff0c\u5c06\u57df\u540d\u6539\u6210URL&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;__init__(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,url):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;handler(signum,&nbsp;frame):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">raise<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;AssertionError&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;url.startswith(<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;http:\/\/&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.url&nbsp;=&nbsp;url&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.url&nbsp;=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;http:\/\/%s&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;%&nbsp;url&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">try<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;httpres&nbsp;=&nbsp;urllib2.urlopen(<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.url,&nbsp;timeout&nbsp;=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">5<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r&nbsp;=&nbsp;httpres&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.page_content&nbsp;=&nbsp;httpres.read()&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">except<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;Exception,&nbsp;e:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r&nbsp;=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.page_content&nbsp;=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;\u8bc6\u522bmeta\u6807\u7b7e,\u7248\u672c\u8bc6\u522b&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;meta_detect(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">not<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pattern&nbsp;=&nbsp;re.compile(r<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;&lt;meta&nbsp;name=&#8221;.*?&#8221;&nbsp;content=&#8221;(.+)&#8221;&nbsp;\/&gt;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;infos&nbsp;=&nbsp;pattern.findall(<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.page_content)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;infos:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">for<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;x&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">in<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;infos:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">for<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;i&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">in<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;range(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">5<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;x&nbsp;==&nbsp;matches[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;meta&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">][i]:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;%s&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;%matches[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;meta&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">][i])&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">break<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;x&nbsp;==&nbsp;matches[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;meta&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">][<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">5<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">break<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">None<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;ecshop&nbsp;robots.txt,\u8003\u8651\u5230\u5176\u4ed6\u7f51\u7ad9\u4e5f\u53ef\u80fd\u7528robots.txt\u4e2d\u6587\u4ef6\u540d\uff0c\u6545\u5fc5\u987b\u6709\u4e24\u4e2a\u4ee5\u4e0a\u6587\u4ef6\u540d\u76f8\u540c&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;robots_ecshop_detect(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">not<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;robots_url&nbsp;=&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;%s%s&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;%&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.url,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;\/robots.txt&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">try<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;robots_content&nbsp;=&nbsp;requests.get(robots_url,timeout=<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">10<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">).content&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">except<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;Exception,&nbsp;e:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;robots_feature_ecshop&nbsp;=&nbsp;matches[<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;robots_for_ecshop&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;robots_list&nbsp;=&nbsp;robots_content.split(<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8220;\\n&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count&nbsp;=&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">for<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;x&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">in<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;robots_feature_ecshop:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">for<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;y&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">in<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;robots_list:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">(x&nbsp;==&nbsp;y):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count&nbsp;+=<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;count&nbsp;&gt;=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">2<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">#&nbsp;not&nbsp;ecshop<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;\u68c0\u6d4b\u7f51\u9875\u4e2d\u7684ecshop\u5b57\u6837&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;detect_intext(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">not<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text_feature&nbsp;=&nbsp;matches[<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;intext&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">][<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">or<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;matches[<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;intext&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">][<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.page_content.count(text_feature)&nbsp;!=&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;\u5224\u522b\u65b9\u6cd5&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">def<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;get_result(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">):&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">not<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.r:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;Not&nbsp;Ecshop!&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;res&nbsp;=&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.meta_detect()&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is_meta&nbsp;=&nbsp;res[<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version_info&nbsp;=&nbsp;res[<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is_ec_robots&nbsp;=&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.robots_ecshop_detect()&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is_intext&nbsp;=&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">self<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">.detect_intext()&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;is_meta&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">or<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;is_ec_robots&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">or<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;is_intext:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">#&nbsp;print&nbsp;&#8216;Find&nbsp;Ecshop!&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;version_info:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;%s&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;%&nbsp;version_info)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">True<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;Unknown&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">return<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;(<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">False<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;Not&nbsp;Ecshop!&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;__name__&nbsp;==&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;__main__&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8221;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&#8221;&#8217;<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;ecshop_site.txt\u662f\u4ee5\u56de\u8f66\u5206\u5272\u7684\u57df\u540d\u6587\u4ef6<\/span>&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\"><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&#8221;&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;fobj&nbsp;=&nbsp;open(<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;ecshop_site.txt&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;r&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;fwobj&nbsp;=&nbsp;open(<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;result.txt&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">,<\/span><span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;a&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">)&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">for<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;url&nbsp;<\/span><span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">in<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;fobj:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url&nbsp;=&nbsp;url[:-<span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">print<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;url&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ecshopdetector&nbsp;=&nbsp;EcshopDetector(url)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ret&nbsp;=&nbsp;ecshopdetector.get_result()&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">if<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;ret[<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">0<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fwobj.writelines(<span style=\"margin: 0px;padding: 0px;border: none;color: blue;background-color: inherit\">&#8216;Site:%s\\tVersion:%s\\n&#8217;<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;%&nbsp;(url,ret[<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">1<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">]))&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">else<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">:&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"margin: 0px;padding: 0px;border: none;font-weight: bold;background-color: inherit\">pass<\/span><span style=\"margin: 0px;padding: 0px;border: none;background-color: inherit\">&nbsp;&nbsp;<\/span><\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;fobj.close()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/li>\n<li> <span style=\"margin: 0px;padding: 0px;border: none;color: black;background-color: inherit\">&nbsp;&nbsp;&nbsp;&nbsp;fwobj.close()&nbsp;&nbsp;<\/span><\/li>\n<\/ol>\n<p> <br \/>\n<span style=\"font-family: Arial;font-size: 14px;line-height: 26px\">\u4e0b\u9762\u662f\u7a0b\u5e8f\u5f97\u5230\u7684\u90e8\u5206\u7ed3\u679c<\/span> <\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> &nbsp;<\/p>\n<p style=\"font-family: Arial;font-size: 14px;line-height: 26px\"> <img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/141219\/1-141219144236344.jpg\" style=\"width: 378px;height: 326px\" class=\"aligncenter\" title=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe3\" alt=\"\u5982\u4f55\u4f5cECShop\u6307\u7eb9\u8bc6\u522b\u7248\u672c\u5224\u65ad\u4ee3\u7801\u63d2\u56fe3\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ECShop\u6307\u7eb9\u8bc6\u522b\u53ea\u662f\u4ece\u4ee5\u4e0b\u4e09\u4e2a\u5165\u624b\uff1a 1.meta\u6570\u636e\u5143\u8bc6\u522b 2.intext\uff1apowered by ECShop 3.robots.txt \u6211\u4eec\u6253\u5f00\u4e00\u4e2aECShop\u7f51\u7ad9\uff0c\u770b\u770b\u9875\u9762\u4e2d\u8fd9\u51e0\u65b9\u9762\u7684\u7279\u5f81\u3002 1.\u6211\u4eec\u73b0\u5728\u770b\u770bmeta\u6807\u7b7e\u4e2d\u6709\u4ec0\u4e48\u7279\u5f81\u3002\u4e0b\u9762\u662f\u6211\u622a\u53d6\u7684\u4e00\u6bb5HTML\u3002 &nbsp; \u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u7f51\u7ad9\u5bf9meta\u6807\u7b7e\u6ca1\u6709\u5904\u7406\uff0c\u4fdd\u7559\u4e86ECShop\u7684\u539f\u59cbmeta\u3002\u7f51\u7ad9\u662fECShop\u53ca\u5176\u7248\u672c\u662f2.7.2\u3002\u6b64\u5904\u4e5f\u662f\u505a\u7248\u672c\u8bc6\u522b\u7684\u5730\u65b9\u3002 &nbsp; 2.\u518d\u5f80\u4e0b\u67e5\u770b\u7f51\u9875 \u6211\u4eec\u53d1\u73b0\u5728footer\u4e2d\u6709Powered&nbsp;by ECShop &nbsp; \u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u7f51\u7ad9\u5bf9ECShop\u7684footer\u6ca1\u6709\u4fee\u6539\uff0c\u4fdd\u7559\u4e86ECShop\u7684\u539f\u59cb\u7684footer\uff0c\u6b64\u5904\u6211\u4eec\u53ef\u4ee5\u8bc6\u522bECShop\u53ca\u5176\u7248\u672c\u3002\u7531\u4e8e\u4e00\u822c\u7f51\u7ad9\u4fee\u6539\u6b64\u5904\u7684\u8f83\u591a\uff0c\u8fd9\u91cc\u5c31\u4e0d\u505a\u7248\u672c\u8bc6\u522b\u4e86\u3002 &nbsp; 3.\u5bf9robots.txt\u5185\u5bb9\u7684\u68c0\u67e5 robots.txt\u6587\u4ef6\u662f\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u3002robots.txt\u662f\u4e00\u4e2a\u534f\u8bae\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u547d\u4ee4\u3002robots.txt\u662f\u641c\u7d22\u5f15\u64ce\u4e2d\u8bbf\u95ee\u7f51\u7ad9\u7684\u65f6\u5019\u8981\u67e5\u770b\u7684\u7b2c\u4e00\u4e2a\u6587\u4ef6\u3002robots.txt\u6587\u4ef6\u544a\u8bc9\u8718\u86db\u7a0b\u5e8f\u5728\u670d\u52a1\u5668\u4e0a\u4ec0\u4e48\u6587\u4ef6\u662f\u53ef\u4ee5\u88ab\u67e5\u770b\u7684\u3002 \u5f53\u4e00\u4e2a\u641c\u7d22\u8718\u86db\u8bbf\u95ee\u4e00\u4e2a\u7ad9\u70b9\u65f6\uff0c\u5b83\u4f1a\u9996\u5148\u68c0\u67e5\u8be5\u7ad9\u70b9\u6839\u76ee\u5f55\u4e0b\u662f\u5426\u5b58\u5728robots.txt\uff0c\u5982\u679c\u5b58\u5728\uff0c\u641c\u7d22\u673a\u5668\u4eba\u5c31\u4f1a\u6309\u7167\u8be5\u6587\u4ef6\u4e2d\u7684\u5185\u5bb9\u6765\u786e\u5b9a\u8bbf\u95ee\u7684\u8303\u56f4\uff1b\u5982\u679c\u8be5\u6587\u4ef6\u4e0d\u5b58\u5728\uff0c\u6240\u6709\u7684\u641c\u7d22\u8718\u86db\u5c06\u80fd\u591f\u8bbf\u95ee\u7f51\u7ad9\u4e0a\u6240\u6709\u6ca1\u6709\u88ab\u53e3\u4ee4\u4fdd\u62a4\u7684\u9875\u9762\u3002 \u90a3\u4e48\u8fd9\u53ef\u4ee5\u88ab\u6211\u4eec\u5229\u7528\uff0c\u4ee5\u8bc6\u522bECShop\uff0c\u770b\u4e0b\u9762\u622a\u56fe\uff0c\u6211\u4eec\u53d1\u73b0\u6709\u4e9b\u6587\u4ef6\u662fECShop\u7279\u6709\u7684\uff0c\u6bd4\u5982\uff1a\/affiche.php\u3001\/good_script.php\u3001\/feed.php\u3002\u90a3\u4e48\uff0c\u5982\u679c\u5b58\u5728\u8fd9\u51e0\u4e2a\u7279\u5f81\uff0c\u6211\u4eec\u53ef\u4ee5\u57fa\u672c\u786e\u5b9a\u8fd9\u5c31\u662f\u4e00\u4e2aECShop CMS\u4e86\u3002 &nbsp;\u5c06ECShop\u6307\u7eb9\u5355\u72ec\u4fdd\u5b58\u4e3a\u8bc6\u522b\u5b57\u5178 ecshop_feature.py &nbsp; [python]&nbsp;view plaincopy &nbsp; #coding=utf-8&nbsp;&nbsp; &#8221;&#8221;&#8217;&nbsp; web-fingerprint&nbsp;plugin&nbsp; 1.&nbsp;robots.txt&nbsp;detecting&nbsp; 2.&nbsp;Powered&nbsp;by&nbsp;Ecshop&nbsp;detecting&nbsp; 3.meta&nbsp; &#8221;&#8217;&nbsp;&nbsp; matches&nbsp;=&nbsp;{&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&#8216;robots_for_ecshop&#8217;:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&#8220;Disallow:&nbsp;\/cert\/&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/templates\/&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/themes\/&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/upgrade\/&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/affiche.php&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/cycle_image.php&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/goods_script.php&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/region.php&#8221;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;Disallow:&nbsp;\/feed.php&#8221;],&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&#8216;intext&#8217;:[&#8216;&lt;a&nbsp;href=&#8221;http:\/\/www.ecshop.com&#8221;&nbsp;target=&#8221;_blank&#8221;&nbsp;style=&#8221;&nbsp;font-family:Verdana;&nbsp;font-size:11px;&#8221;&gt;Powered&nbsp;by&nbsp;&lt;strong&gt;&lt;span&nbsp;style=&#8221;color:&nbsp;#3366FF&#8221;&gt;ECShop&lt;\/span&gt;&nbsp;&lt;span&nbsp;style=&#8221;color:&nbsp;#FF9966&#8243;&gt;v2.7.&#8217;,&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;&lt;a&nbsp;href=&#8221;http:\/\/www.ecshop.com\/license.php?product=ecshop_b2c&amp;url=&#8217;],&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&#8216;meta&#8217;:[&#8216;ECSHOP&nbsp;v2.7.3&#8217;,&#8216;ECSHOP&nbsp;v2.7.2&#8217;,&#8216;ECSHOP&nbsp;v2.7.1&#8217;,&#8216;ECSHOP&nbsp;v2.7.0&#8217;,&#8216;ECSHOP&nbsp;v2.6.2&#8217;,&#8216;ECSHOP&#8217;],&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&#8216;title&#8217;:[&#8216;Powered&nbsp;by&nbsp;ECShop&#8217;,]&nbsp;&nbsp; }&nbsp;&nbsp; \u4e0b\u9762\u662f\u8bc6\u522b\u4e3b\u7a0b\u5e8f\uff0c\u8f93\u5165\u56de\u8f66\u5206\u5272\u7684\u57df\u540d\u6587\u4ef6 &nbsp; &nbsp; [python]&nbsp;view [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-59495","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=59495"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59495\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}