[{"data":1,"prerenderedAt":18},["ShallowReactive",2],{"article":3},{"id":4,"category":5,"slug":6,"title":7,"image":8,"page_image":9,"published_at":10,"updated_at":11,"meta_title":12,"meta_description":13,"meta_keywords":14,"content":15,"tags":16,"faqs":17},149,"blog","cn-boosting-web-data-harvesting-ethical-geo-targeted-proxies-and-other-solutions","提升网络数据采集：道德的地理定位代理和其他解决方案","https://blog.dexodata.com/storage/uploads/previews/19-4-s-trusted-proxy-website-boosting-web-data-harvesting-cover-8b07d44a-13cc-47df-8515-730bebd42904.webp","https://blog.dexodata.com/storage/uploads/covers/19-4-b-trusted-proxy-website-boosting-web-data-harvesting-cover-8a221677-8ae3-408a-81bb-088fe13af399.webp","2024/01/08","2024/09/27","如何提升网络爬虫以节省流量并简化数据收集","网络爬虫优化策略在常见的Python示例和Dexodata地理定位代理的实施中。为什么要购买旋转的住宅IP、缓存数据等。","buy residential and mobile proxies, buy residential ip, geo targeted proxies","\u003C!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n\u003C?xml encoding=\"utf-8\"?>\u003Chtml>\u003Cbody>\u003Cp>\u003Cem>\u003Cstrong>&#25991;&#31456;&#20869;&#23481;&#65306;\u003C/strong>\u003C/em>\u003C/p>\n\u003Cul>\n\u003Cli>\u003Ca href=\"#anchor1\">&#22914;&#20309;&#21152;&#24555;&#32593;&#32476;&#29228;&#34411;&#36895;&#24230;&#65311;\u003C/a>\n\u003Cul>\n\u003Cli>\u003Ca href=\"#anchor2\">&#36890;&#36807;&#33410;&#30465;&#27969;&#37327;&#26469;&#25552;&#21319;&#32593;&#32476;&#25968;&#25454;&#25910;&#38598;\u003C/a>\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor3\">&#36890;&#36807;&#22686;&#24378;&#25968;&#25454;&#20256;&#36755;&#26469;&#21152;&#24555;&#32593;&#32476;&#29228;&#34411;&#36895;&#24230;\u003C/a>\u003C/li>\n\u003C/ul>\n\u003C/li>\n\u003Cli>\u003Ca href=\"#anchor4\">&#26469;&#33258;Dexodata&#30340;&#26377;&#25928;&#29228;&#34411;&#21644;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;\u003C/a>\u003C/li>\n\u003C/ul>\n\u003Cp>&#20351;&#29992;\u003Cstrong>Python\u003C/strong>&#22312;&#20225;&#19994;&#35268;&#27169;&#19978;&#25552;&#21462;&#32593;&#32476;&#20449;&#24687;&#26159;&#26368;&#26377;&#21069;&#36884;&#30340;&#25968;&#25454;&#25910;&#38598;&#36235;&#21183;&#20043;&#19968;&#65292;&#32467;&#21512;&#20102;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;&#30340;&#24212;&#29992;&#12290;&#34429;&#28982;Dexodata&#30340;&#36947;&#24503;&#29983;&#24577;&#31995;&#32479;&#36890;&#36807;API&#26041;&#27861;&#25552;&#20379;&#19982;&#22522;&#20110;Python&#30340;&#26694;&#26550;100%&#30340;&#20860;&#23481;&#24615;&#65292;&#20294;&#36825;&#31181;&#32534;&#31243;&#35821;&#35328;&#28789;&#27963;&#12289;&#21487;&#25193;&#23637;&#65292;&#24182;&#37197;&#22791;&#20102;&#39069;&#22806;&#30340;&#24211;&#65292;&#20197;&#36866;&#24212;&#24191;&#27867;&#30340;&#29228;&#34411;&#39033;&#30446;&#33539;&#22260;&#12290;&#36825;&#23601;&#26159;&#20026;&#20160;&#20040;\u003Ca href=\"https://github.com/topics/web-scraping\" target=\"_blank\" rel=\"noopener\">Python&#26159;&#31532;&#19968;&#32534;&#31243;&#35821;&#35328;\u003C/a>&#65292;&#26681;&#25454;GitHub&#24320;&#28304;&#39033;&#30446;&#30340;&#21015;&#34920;&#12290;&#20170;&#22825;&#65292;&#25105;&#20204;&#23558;&#25552;&#20379;&#21152;&#24555;&#22312;&#32447;&#27934;&#23519;&#25552;&#21462;&#30340;&#31034;&#20363;&#12290;\u003C/p>\n\u003Ch2>\u003Ca name=\"anchor1\">\u003C/a>&#22914;&#20309;&#21152;&#24555;&#32593;&#32476;&#29228;&#34411;&#36895;&#24230;&#65311;\u003C/h2>\n\u003Cp>&#21152;&#24555;\u003Ca href=\"https://dexodata.com/en/blog/why-is-mobile-app-scraping-so-popular\" target=\"_blank\" rel=\"noopener\">&#20174;&#24212;&#29992;&#31243;&#24207;&#25110;&#22522;&#20110;HTML&#30340;&#32593;&#31449;&#33719;&#21462;&#20844;&#24320;&#21487;&#29992;&#20803;&#32032;\u003C/a>&#30340;&#36807;&#31243;&#28041;&#21450;&#20004;&#31181;&#26041;&#27861;&#12290;&#31532;&#19968;&#31181;&#26041;&#27861;&#33410;&#30465;&#20102;&#19979;&#36733;&#21644;&#22788;&#29702;&#30340;&#22312;&#32447;&#20449;&#24687;&#24635;&#37327;&#65292;&#31532;&#20108;&#31181;&#26041;&#27861;&#24212;&#29992;&#25216;&#26415;&#26469;&#25552;&#21319;&#20114;&#32852;&#32593;&#27934;&#23519;&#25552;&#21462;&#30340;&#36895;&#24230;&#12290;&#32771;&#34385;&#21040;&#36141;&#20080;&#20303;&#23429;&#21644;&#31227;&#21160;&#20195;&#29702;&#30340;&#24517;&#35201;&#24615;&#65292;&#20197;&#19979;&#26159;&#20197;&#34920;&#26684;&#24418;&#24335;&#21015;&#20986;&#30340;&#29228;&#34411;&#21152;&#36895;&#22120;&#65306;\u003C/p>\n\u003Ctable style=\"border-collapse: collapse; width: 99.9794%;\" border=\"2\">\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd style=\"width: 30.033%; text-align: center;\">\u003Cspan style=\"color: #3598db;\">\u003Cstrong>&#26041;&#27861;\u003C/strong>\u003C/span>\u003C/td>\n\u003Ctd style=\"width: 69.967%; text-align: center;\">\u003Cspan style=\"color: #3598db;\">\u003Cstrong>&#23454;&#38469;&#35299;&#20915;&#26041;&#26696;\u003C/strong>\u003C/span>\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd style=\"width: 30.033%; text-align: center;\" rowspan=\"3\">\u003Cstrong>\u003Cspan style=\"color: #455298;\">&#33410;&#30465;&#27969;&#37327;\u003C/span>\u003C/strong>\u003C/td>\n\u003Ctd style=\"width: 69.967%;\">&nbsp;&#20351;&#29992;&#26080;&#22836;&#27983;&#35272;&#22120;\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd style=\"width: 69.967%;\">\u003Cspan style=\"font-weight: 400;\">&nbsp;&#20248;&#21270;XPath&#21644;CSS&#36873;&#25321;&#22120;\u003C/span>\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd style=\"width: 69.967%;\">\u003Cspan style=\"font-weight: 400;\">&nbsp;&#32531;&#23384;\u003C/span>\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd style=\"width: 30.033%; text-align: center;\" rowspan=\"2\">\u003Cstrong>\u003Cspan style=\"color: #455298;\">&#25552;&#21319;&#25968;&#25454;&#25910;&#38598;\u003C/span>\u003C/strong>\u003C/td>\n\u003Ctd style=\"width: 69.967%;\">&nbsp;&#36141;&#20080;&#20303;&#23429;IP&#22320;&#22336;\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd style=\"width: 69.967%;\">\u003Cspan style=\"font-weight: 400;\">&nbsp;&#21457;&#36865;&#24322;&#27493;&#35831;&#27714;\u003C/span>\u003C/td>\n\u003C/tr>\n\u003C/tbody>\n\u003C/table>\n\u003Cp>&#36319;&#19978;&#24555;&#36895;&#20114;&#32852;&#32593;&#20449;&#24687;&#25910;&#38598;&#30340;&#26368;&#26032;&#21160;&#24577;&#38656;&#35201;&#20102;&#35299;&#20197;&#19979;&#25551;&#36848;&#30340;&#31574;&#30053;&#12290;\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor2\">\u003C/a>&#36890;&#36807;&#33410;&#30465;&#27969;&#37327;&#26469;&#25552;&#21319;&#32593;&#32476;&#25968;&#25454;&#25910;&#38598;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#36141;&#20080;&#20303;&#23429;&#21644;&#31227;&#21160;&#20195;&#29702;&#20197;&#23454;&#29616;&#26080;&#32541;&#26816;&#27979;&#21644;&#25910;&#38598;&#22312;&#32447;&#27934;&#23519;&#26159;&#37325;&#35201;&#30340;&#12290;&#20854;&#20182;&#22522;&#20110;Python&#30340;&#26041;&#26696;&#23545;&#20110;&#33410;&#30465;&#22788;&#29702;&#30340;&#20449;&#24687;&#37327;&#20063;&#33267;&#20851;&#37325;&#35201;&#65306;\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cspan style=\"color: #236fa1;\">\u003Cstrong>&#20351;&#29992;&#26080;&#22836;&#27983;&#35272;&#22120;\u003C/strong>\u003C/span>\u003C/li>\n\u003C/ul>\n\u003Cp>&#22522;&#20110;Python&#30340;\u003Cstrong>Selenium\u003C/strong>&#12289;&#36816;&#34892;&#22312;Node.js&#19978;&#30340;\u003Cstrong>ZombieJS\u003C/strong>&#12289;&#28304;&#20110;JavaScript&#30340;\u003Cstrong>HtmlUnit\u003C/strong>&#22312;&#19981;&#21152;&#36733;&#32593;&#31449;&#35270;&#35273;&#37096;&#20998;&#30340;&#24773;&#20917;&#19979;&#22823;&#35268;&#27169;&#25910;&#38598;&#20114;&#32852;&#32593;&#20449;&#24687;&#12290;&#25918;&#24323;GUI&#33410;&#30465;&#20102;&#25552;&#21462;&#20851;&#38190;&#20844;&#24320;&#21487;&#29992;&#20803;&#32032;&#25152;&#38656;&#30340;&#26102;&#38388;&#21644;&#27969;&#37327;&#12290;&#36825;&#38656;&#35201;&#22312;&#26368;&#20339;&#35268;&#27169;&#19979;&#36141;&#20080;&#20303;&#23429;IP&#65292;&#24182;\u003Ca href=\"https://dexodata.com/en/blog/browser-automation-for-data-harvesting-explained\" target=\"_blank\" rel=\"noopener\">&#23454;&#26045;&#27983;&#35272;&#22120;&#33258;&#21160;&#21270;&#35299;&#20915;&#26041;&#26696;\u003C/a>&#12290;\u003C/p>\n\u003Cp style=\"text-align: center;\">\u003Cimg src=\"https://blog.dexodata.com/storage/uploads/images/149/19-4-geo-targeted-proxies-boosting-web-data-harvesting-pic-1032x491-ec97d6cd-7e0b-40d2-ab02-4ae0e6dda092.png\" alt=\"&#22914;&#20309;&#25552;&#21319;&#32593;&#32476;&#29228;&#34411;&#20197;&#33410;&#30465;&#27969;&#37327;&#24182;&#31616;&#21270;&#25968;&#25454;&#25910;&#38598;\" width=\"1032\" height=\"491\">\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cspan style=\"color: #236fa1;\">\u003Cstrong>&#20248;&#21270;XPath&#21644;CSS&#36873;&#25321;&#22120;\u003C/strong>\u003C/span>&#21487;&#20197;&#20165;&#38024;&#23545;&#24744;&#38656;&#35201;&#30340;&#29305;&#23450;&#20803;&#32032;\u003C/li>\n\u003C/ul>\n\u003Cp>&#36825;&#20943;&#23569;&#20102;&#29228;&#34411;&#38656;&#35201;&#35299;&#26512;&#30340;HTML&#37327;&#65292;&#25552;&#39640;&#20102;&#25972;&#20307;&#36895;&#24230;&#12290;&#23545;&#20110;\u003Ccode>requests\u003C/code>&#24211;&#65292;&#23450;&#20041;XPath&#30475;&#36215;&#26469;&#20687;&#65306;\u003C/p>\n\u003Cp>\u003Cstrong>&nbsp;data = tree.xpath('//div[@class=\"content\"]/p/text()'))\u003C/strong> - &#22312;&#25551;&#36848;&#19981;&#39640;&#25928;&#30340;&#24773;&#20917;&#19979;\u003C/p>\n\u003Cp>\u003Cstrong>&nbsp;data = tree.xpath('//div[@class=\"content\"]//p/text()'))\u003C/strong> -&nbsp;&nbsp;&#29992;&#20110;&#20248;&#21270;&#25551;&#36848;&#12290;\u003C/p>\n\u003Cul>\n\u003Cli>\u003Cspan style=\"color: #236fa1;\">\u003Cstrong>&#32531;&#23384;&#21709;&#24212;\u003C/strong>\u003C/span>&#36991;&#20813;&#37325;&#26032;&#19979;&#36733;&#33258;&#19978;&#27425;&#29228;&#21462;&#20197;&#26469;&#26410;&#26356;&#25913;&#30340;&#39029;&#38754;\u003C/li>\n\u003C/ul>\n\u003Cp>&#36825;&#31181;&#26041;&#27861;&#20943;&#23569;&#20102;&#26597;&#35810;&#27425;&#25968;&#65292;&#24182;&#38477;&#20302;&#20102;&#26381;&#21153;&#22120;&#30340;&#36127;&#36733;&#65292;&#20197;\u003Ca href=\"https://dexodata.com/en/blog/why-dexodata-implements-aml-and-kyc-policies\" target=\"_blank\" rel=\"noopener\">&#36981;&#24490;AML/KYC&#25919;&#31574;\u003C/a>&#65292;&#36825;&#26159;&#36947;&#24503;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;&#30340;&#20856;&#22411;&#20570;&#27861;&#12290;&#32531;&#23384;&#30340;&#24418;&#24335;&#26159;&#21033;&#29992;\u003Ccode>requests_cache\u003C/code>&nbsp;&#24211;&#22312;Python&#20013;&#24418;&#25104;&#38190;&#20540;&#23545;&#65292;&#24182;&#20248;&#21270;GET&#35831;&#27714;&#12290;\u003C/p>\n\u003Cp>&#30446;&#26631;&#31867;&#21644;&#25551;&#36848;&#30340;&#35268;&#33539;&#19982;&#26356;&#24555;&#20256;&#36755;&#36825;&#20123;&#20803;&#32032;&#30456;&#32467;&#21512;&#12290;\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor3\">\u003C/a>&#36890;&#36807;&#22686;&#24378;&#25968;&#25454;&#20256;&#36755;&#26469;&#21152;&#24555;&#32593;&#32476;&#29228;&#34411;&#36895;&#24230;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#25552;&#21319;&#32593;&#32476;&#25968;&#25454;&#37319;&#38598;&#36895;&#24230;&#23454;&#26045;&#20869;&#37096;&#25110;&#22806;&#37096;&#35299;&#20915;&#26041;&#26696;&#12290;&#31532;&#19968;&#31181;&#21253;&#25324;&#20197;&#19979;&#35201;&#27714;&#65306;\u003C/p>\n\u003Col>\n\u003Cli>&#20174;&#19968;&#20010;&#21487;&#38752;&#30340;&#36947;&#24503;&#29983;&#24577;&#31995;&#32479;&#36141;&#20080;&#20303;&#23429;&#21644;&#31227;&#21160;&#20195;&#29702;&#65292;&#20197;&#25552;&#20379;99.9%&#30340;&#27491;&#24120;&#36816;&#34892;&#26102;&#38388;&#12290;\u003C/li>\n\u003Cli>&#22312;&#24314;&#31435;&#26032;&#36830;&#25509;&#25110;&#22312;IP&#27744;&#20869;&#30340;&#38388;&#38548;&#26102;&#25191;&#34892;&#22806;&#37096;IP&#36718;&#25442;&#12290;&#23427;&#21487;&#20197;&#25353;&#22320;&#29702;&#20301;&#32622;&#25110;&#30456;&#20284;&#30340;ASN&#23450;&#20041;&#12290;\u003C/li>\n\u003C/ol>\n\u003Cp>&#20363;&#22914;&#65292;Scrapy&#36890;&#36807;&#24212;&#29992;\u003Ccode>requests\u003C/code>&#26469;&#39564;&#35777;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;&#65292;&#24182;&#36890;&#36807;\u003Ccode>scrapy-rotating-proxies\u003C/code>&#21253;&#26356;&#25913;&#22320;&#22336;&#12290;\u003C/p>\n\u003Cp>\u003Ca href=\"https://dexodata.com/en/blog/scraping-experts-5-pro-tips-for-ethical-and-efficient-data-harvesting\" target=\"_blank\" rel=\"noopener\">&#19987;&#23478;&#25512;&#33616;&#30340;&#36947;&#24503;&#21644;&#39640;&#25928;&#22312;&#32447;&#20449;&#24687;&#33719;&#21462;\u003C/a>&#21253;&#25324;&#22312;Python&#20013;&#21033;&#29992;&#24322;&#27493;&#24211;&#65292;&#22914;\u003Ccode>asyncio \u003C/code>&#21644;\u003Ccode>aiohttp\u003C/code>&#12290;&#23427;&#20204;&#21516;&#26102;&#21457;&#36865;&#22810;&#20010;HTTP&#35831;&#27714;&#65292;&#36825;&#28040;&#38500;&#20102;&#22312;&#21457;&#36865;&#19979;&#19968;&#20010;&#35831;&#27714;&#20043;&#21069;&#31561;&#24453;&#19968;&#20010;&#26597;&#35810;&#23436;&#25104;&#30340;&#38656;&#35201;&#65292;&#36981;&#24490;&#22810;&#32447;&#31243;&#30340;&#21407;&#21017;&#12290;\u003C/p>\n\u003Cp style=\"line-height: 0.5;\">&nbsp;\u003C/p>\n\u003Ch3>\u003Ca name=\"anchor4\">\u003C/a>&#26469;&#33258;Dexodata&#30340;&#26377;&#25928;&#29228;&#34411;&#21644;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;\u003C/h3>\n\u003Cp style=\"line-height: 0.1;\">&nbsp;\u003C/p>\n\u003Cp>&#20943;&#23569;&#24635;&#27969;&#37327;&#21644;&#22686;&#24378;&#20854;&#20256;&#36755;&#26159;&#25552;&#39640;&#22312;&#32447;&#26234;&#33021;&#36895;&#24230;&#30340;&#24120;&#35265;&#26041;&#27861;&#12290;&#36824;&#26377;&#23558;&#29228;&#34411;&#24182;&#34892;&#22788;&#29702;&#20998;&#37197;&#21040;&#19981;&#21516;CPU&#26680;&#24515;&#30340;&#20570;&#27861;&#65292;&#23558;GET&#35831;&#27714;&#26367;&#25442;&#20026;\u003Ccode>HTTP HEAD\u003C/code>&#65292;&#20197;&#21450;\u003Ca href=\"https://dexodata.com/en/blog/comparison-between-web-scraping-and-apis-in-the-context-of-data-extraction\" target=\"_blank\" rel=\"noopener\">&#36890;&#36807;API&#32780;&#19981;&#26159;HTTP&#20943;&#23569;&#26377;&#25928;&#36733;&#33655;&#22823;&#23567;\u003C/a>&#12290;\u003C/p>\n\u003Cp>&#19978;&#36848;&#20363;&#31243;&#30340;&#20849;&#21516;&#28857;&#22312;&#20110;&#38656;&#35201;&#22522;&#20110;&#22320;&#29702;&#23450;&#20301;&#20195;&#29702;&#30340;&#29983;&#24577;&#31995;&#32479;&#36827;&#34892;&#25805;&#20316;&#12290;&#36947;&#24503;&#30340;Dexodata&#24179;&#21488;&#36890;&#36807;&#22478;&#24066;&#21644;ISP&#32423;&#21035;&#30340;&#30446;&#26631;&#12289;API&#21551;&#29992;&#30340;IP&#36718;&#25442;&#20197;&#21450;&#20005;&#26684;&#30340;KYC&#21644;AML&#25919;&#31574;&#21512;&#35268;&#65292;&#31616;&#21270;&#24182;&#21152;&#24555;&#32593;&#32476;&#25968;&#25454;&#37319;&#38598;&#12290;\u003Ca href=\"https://dexodata.com/en/residential-proxies\" target=\"_blank\" rel=\"noopener\">&#36141;&#20080;&#26469;&#33258;100&#22810;&#20010;&#22269;&#23478;&#30340;&#20303;&#23429;IP\u003C/a>&#27744;&#65292;&#20197;&#25552;&#39640;&#20114;&#32852;&#32593;&#25968;&#25454;&#20998;&#26512;&#36895;&#24230;&#65292;&#19982;&#21487;&#38752;&#30340;&#21830;&#19994;&#20249;&#20276;&#21512;&#20316;&#12290;\u003C/p>\u003C/body>\u003C/html>\n",[],[],1783936352832]