Momy.URLSubmit 1.0.0.8

.NET Framework 4.0

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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Momy.URLSubmit" Version="1.0.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Momy.URLSubmit --version 1.0.0.8
#r "nuget: Momy.URLSubmit, 1.0.0.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.0.8 986 6/20/2017
1.0.0.7 1,309 5/28/2015

实现百度链接实时提交,新增链接更新和删除方法。使用方法如下:
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*");