1.抖音某些口令无法解析
This commit is contained in:
parent
f40d3a1cfc
commit
5b93eed59f
|
@ -515,10 +515,22 @@ html = {html}");
|
|||
if (reg.Success)
|
||||
{
|
||||
var kl = reg.Groups[1].Value;
|
||||
// product_id = KouLingAnalysis(kl);
|
||||
product_id = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
||||
promotion_id = GetPromotionId(product_id);
|
||||
|
||||
// product_id = KouLingAnalysis(kl);
|
||||
var tmpId = DouyinApiV2.AnalysisCmdToGoodsUrl(kl, out promotion_id);
|
||||
if (CheckIsGoodsId(tmpId))
|
||||
{
|
||||
product_id = tmpId;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue