1.抖音某些口令无法解析
This commit is contained in:
parent
f40d3a1cfc
commit
5b93eed59f
|
@ -516,9 +516,21 @@ html = {html}");
|
||||||
{
|
{
|
||||||
var kl = reg.Groups[1].Value;
|
var kl = reg.Groups[1].Value;
|
||||||
// product_id = KouLingAnalysis(kl);
|
// product_id = KouLingAnalysis(kl);
|
||||||
product_id = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
var tmpId = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
||||||
|
if (CheckIsGoodsId(tmpId))
|
||||||
|
{
|
||||||
|
product_id = tmpId;
|
||||||
promotion_id = GetPromotionId(product_id);
|
promotion_id = GetPromotionId(product_id);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
promotion_id = tmpId;
|
||||||
|
var info = FindGoodsInfo(promotion_id);
|
||||||
|
if (info != null)
|
||||||
|
{
|
||||||
|
product_id = info.data?.product_id ?? string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
IsResolved = false;
|
IsResolved = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue