C#爬取国家统计局省市区街道2020最新数据

上传者: 52437470 | 上传时间: 2021-06-22 20:21:18 | 文件大小: 13.81MB | 文件类型: RAR
1、使用WebRequest爬取到页面数据 2、使用正则表达式中的贪婪模式、分组等技术提取有用数据 3、使用EF6保存到MSSQL数据库

文件下载

资源详情

[{"title":"( 93 个子文件 13.81MB ) C#爬取国家统计局省市区街道2020最新数据","children":[{"title":"DataGrab","children":[{"title":"DataGrab","children":[{"title":"Utils","children":[{"title":"HttpMethods.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"PinYinHelper.cs <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"DataGrab.csproj <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"DataGrab.csproj.FileListAbsolute.txt <span style='color:#111;'> 945B </span>","children":null,"spread":false},{"title":"DataGrab.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DataGrab.csprojAssemblyReference.cache <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false},{"title":"DataGrab.exe <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Models.DbEntities.cs.dll <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false}],"spread":true},{"title":".NETFramework,Version=v4.7.2.AssemblyAttributes.cs <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"DataGrab.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DataGrab.pdb <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"PinYinConverterCore.dll <span style='color:#111;'> 359.00KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.xml <span style='color:#111;'> 159.37KB </span>","children":null,"spread":false},{"title":"PinYinConverterCore.xml <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false},{"title":"NPinyin.dll <span style='color:#111;'> 74.50KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 577.88KB </span>","children":null,"spread":false},{"title":"DataGrab.exe <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.76MB </span>","children":null,"spread":false},{"title":"EntityFramework.xml <span style='color:#111;'> 3.57MB </span>","children":null,"spread":false},{"title":"DataGrab.exe.config <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"DataGrab.pdb <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.config <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"Models","children":[{"title":"DbEntities.cs <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"SYS_Area.cs <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"DbEntities.tt <span style='color:#111;'> 36.33KB </span>","children":null,"spread":false},{"title":"SysDbContext.cs <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"EF.Reverse.POCO.Core.ttinclude <span style='color:#111;'> 186.99KB </span>","children":null,"spread":false},{"title":"EF.Reverse.POCO.ttinclude <span style='color:#111;'> 48.69KB </span>","children":null,"spread":false},{"title":"ISysDbContext.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"SYS_AreaMap.cs <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"Core","children":[{"title":"CoreHandle.cs <span style='color:#111;'> 8.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".vs","children":[{"title":"DataGrab","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 66.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"packages","children":[{"title":"PinYinConverterCore.1.0.2","children":[{"title":".signature.p7s <span style='color:#111;'> 9.24KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"netstandard2.0","children":[{"title":"PinYinConverterCore.dll <span style='color:#111;'> 359.00KB </span>","children":null,"spread":false},{"title":"PinYinConverterCore.xml <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"net45","children":[{"title":"PinYinConverterCore.dll <span style='color:#111;'> 359.00KB </span>","children":null,"spread":false},{"title":"PinYinConverterCore.xml <span style='color:#111;'> 8.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"PinYinConverterCore.1.0.2.nupkg <span style='color:#111;'> 476.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"NPinyin.0.2.6321.26573","children":[{"title":".signature.p7s <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"net20","children":[{"title":"NPinyin.dll <span style='color:#111;'> 74.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NPinyin.0.2.6321.26573.nupkg <span style='color:#111;'> 55.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"EntityFramework.6.4.4","children":[{"title":"build","children":[{"title":"netcoreapp3.0","children":[{"title":"EntityFramework.targets <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"EntityFramework.props <span style='color:#111;'> 252B </span>","children":null,"spread":false}],"spread":true},{"title":"EntityFramework.targets <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"Microsoft.Data.Entity.Build.Tasks.dll <span style='color:#111;'> 31.08KB </span>","children":null,"spread":false},{"title":"EntityFramework.props <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"EntityFramework.DefaultItems.props <span style='color:#111;'> 304B </span>","children":null,"spread":false}],"spread":true},{"title":"EntityFramework.6.4.4.nupkg <span style='color:#111;'> 6.11MB </span>","children":null,"spread":false},{"title":".signature.p7s <span style='color:#111;'> 18.27KB </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"netcoreapp3.0","children":[{"title":"any","children":[{"title":"ef6.runtimeconfig.json <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"ef6.pdb <span style='color:#111;'> 19.37KB </span>","children":null,"spread":false},{"title":"ef6.dll <span style='color:#111;'> 87.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"init.ps1 <span style='color:#111;'> 13.67KB </span>","children":null,"spread":false},{"title":"EntityFramework6.psm1 <span style='color:#111;'> 52.60KB </span>","children":null,"spread":false},{"title":"net40","children":[{"title":"any","children":[{"title":"ef6.pdb <span style='color:#111;'> 18.87KB </span>","children":null,"spread":false},{"title":"ef6.exe <span style='color:#111;'> 75.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"win-x86","children":[{"title":"ef6.pdb <span style='color:#111;'> 18.88KB </span>","children":null,"spread":false},{"title":"ef6.exe <span style='color:#111;'> 75.87KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"EntityFramework6.psd1 <span style='color:#111;'> 16.98KB </span>","children":null,"spread":false},{"title":"about_EntityFramework6.help.txt <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"install.ps1 <span style='color:#111;'> 13.70KB </span>","children":null,"spread":false},{"title":"EntityFramework6.PS2.psm1 <span style='color:#111;'> 32.15KB </span>","children":null,"spread":false},{"title":"EntityFramework6.PS2.psd1 <span style='color:#111;'> 15.21KB </span>","children":null,"spread":false},{"title":"net45","children":[{"title":"any","children":[{"title":"ef6.pdb <span style='color:#111;'> 18.88KB </span>","children":null,"spread":false},{"title":"ef6.exe <span style='color:#111;'> 76.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"win-x86","children":[{"title":"ef6.pdb <span style='color:#111;'> 18.88KB </span>","children":null,"spread":false},{"title":"ef6.exe <span style='color:#111;'> 76.36KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"buildTransitive","children":[{"title":"netcoreapp3.0","children":[{"title":"EntityFramework.targets <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"EntityFramework.props <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":true},{"title":"EntityFramework.targets <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"EntityFramework.props <span style='color:#111;'> 138B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"netstandard2.1","children":[{"title":"EntityFramework.SqlServer.xml <span style='color:#111;'> 159.37KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 577.58KB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.75MB </span>","children":null,"spread":false},{"title":"EntityFramework.xml <span style='color:#111;'> 3.55MB </span>","children":null,"spread":false}],"spread":true},{"title":"net40","children":[{"title":"EntityFramework.SqlServer.xml <span style='color:#111;'> 150.14KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 572.88KB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.55MB </span>","children":null,"spread":false},{"title":"EntityFramework.xml <span style='color:#111;'> 3.16MB </span>","children":null,"spread":false}],"spread":false},{"title":"net45","children":[{"title":"EntityFramework.SqlServer.xml <span style='color:#111;'> 159.37KB </span>","children":null,"spread":false},{"title":"EntityFramework.SqlServer.dll <span style='color:#111;'> 577.88KB </span>","children":null,"spread":false},{"title":"EntityFramework.dll <span style='color:#111;'> 4.76MB </span>","children":null,"spread":false},{"title":"EntityFramework.xml <span style='color:#111;'> 3.57MB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"content","children":[{"title":"net40","children":[{"title":"Web.config.transform <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"Web.config.install.xdt <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"App.config.install.xdt <span style='color:#111;'> 850B </span>","children":null,"spread":false},{"title":"App.config.transform <span style='color:#111;'> 209B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Icon.png <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DataGrab.sln <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明