temu客户端程序
This commit is contained in:
commit
4aaf264e89
694 files changed
+263780
No files matched your search
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 删除已驳回
|
||||
*
|
||||
*/
|
||||
|
||||
using System.Threading;
|
||||
using AllBase;
|
||||
|
||||
namespace Work.Api
|
||||
{
|
||||
public class DeleteRejectProduct
|
||||
{
|
||||
public ShopChatBase Shop;
|
||||
|
||||
public DeleteRejectProduct(ShopChatBase shop)
|
||||
{
|
||||
Shop = shop;
|
||||
}
|
||||
|
||||
public void Get()
|
||||
{
|
||||
int al = 1,count =1;
|
||||
while (true)
|
||||
{
|
||||
string url = "https://mms.pinduoduo.com/glide/v2/mms/query/commit/list";
|
||||
string data = "{\"start\":0,\"length\":15,\"check_status\":3}";
|
||||
string refere = "https://mms.pinduoduo.com/Pdd.html";
|
||||
string html = GetPostTaobaoHtml.JsonPinduoduoUpload(url, refere, true, data, Shop.Cookies);
|
||||
var m = BaseRegex.GetMatchRegex(ref html, @"\{""id"":([\d]+),");
|
||||
if (m == null || m.Count == 0)
|
||||
break;
|
||||
for (int i = 0; i < m.Count; i++)
|
||||
{
|
||||
string id = m[i].Groups[1].Value;
|
||||
url = "https://mms.pinduoduo.com/glide/v2/mms/edit/commit/" + id + "/delete";
|
||||
html = GetPostTaobaoHtml.JsonPinduoduoUpload(url, refere, true, "{}", Shop.Cookies);
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
}
|
||||
while (true)
|
||||
{
|
||||
string url = "https://mms.pinduoduo.com/glide/v2/mms/query/commit/list";
|
||||
string data = "{\"start\":0,\"length\":15,\"check_status\":0}";
|
||||
string refere = "https://mms.pinduoduo.com/Pdd.html";
|
||||
string html = GetPostTaobaoHtml.JsonPinduoduoUpload(url, refere, true, data, Shop.Cookies);
|
||||
var m = BaseRegex.GetMatchRegex(ref html, @"\{""id"":([\d]+),");
|
||||
if (m == null || m.Count == 0)
|
||||
return;
|
||||
for (int i = 0; i < m.Count; i++)
|
||||
{
|
||||
string id = m[i].Groups[1].Value;
|
||||
url = "https://mms.pinduoduo.com/glide/v2/mms/edit/commit/" + id + "/delete";
|
||||
html = GetPostTaobaoHtml.JsonPinduoduoUpload(url, refere, true, "{}", Shop.Cookies);
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user