Momy.URLSubmit
1.0.0.8
Requires NuGet 1.0.0.0 or higher.
dotnet add package Momy.URLSubmit --version 1.0.0.8
NuGet\Install-Package Momy.URLSubmit -Version 1.0.0.8
<PackageReference Include="Momy.URLSubmit" Version="1.0.0.8" />
paket add Momy.URLSubmit --version 1.0.0.8
#r "nuget: Momy.URLSubmit, 1.0.0.8"
// Install Momy.URLSubmit as a Cake Addin #addin nuget:?package=Momy.URLSubmit&version=1.0.0.8 // Install Momy.URLSubmit as a Cake Tool #tool nuget:?package=Momy.URLSubmit&version=1.0.0.8
实现百度链接实时提交
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
实现百度链接实时提交,新增链接更新和删除方法。使用方法如下:
List<string> links = new List<string>();
links.Add("http://www.cn0874.com/article/details/2689");
links.Add("http://www.cn0874.com/article/details/2699");
BaiduResult result1 = Baidu.PushUrl(links, site: "www.cn0874.com", token: "iKLKus3lpldq6HC*");
BaiduResult result2 = Baidu.UpdateUrl(links, site: "www.cn0874.com", token: "iKLKus3lpldq6H*");
BaiduResult result3 = Baidu.DeleteUrl(links[0], site: "www.cn0874.com", token: "iKLKus3lpldq6H*");