fix(service): 更新抖音接口地址配置
将抖音接口地址从 GlobalConfig.mtDianPingInterfaceAddress更新为 GlobalConfig.dyPingJiaInterfaceAddress,确保接口请求能够正确匹配抖音评价相关网络请求。
This commit is contained in:
@@ -28,7 +28,7 @@ public class FtbCrawlNetDy extends AbstractFtbCrawlNetBase implements FtbCrawlNe
|
|||||||
AtomicBoolean dyCookie = new AtomicBoolean(false);
|
AtomicBoolean dyCookie = new AtomicBoolean(false);
|
||||||
// 监听网络请求
|
// 监听网络请求
|
||||||
context.onRequest(request -> {
|
context.onRequest(request -> {
|
||||||
if (request.url().contains(GlobalConfig.mtDianPingInterfaceAddress)) {
|
if (request.url().contains(GlobalConfig.dyPingJiaInterfaceAddress)) {
|
||||||
// 打印请求URL
|
// 打印请求URL
|
||||||
log.info("请求URL: {}", request.url());
|
log.info("请求URL: {}", request.url());
|
||||||
super.processCookie(request, 1, "抖音",dyCookie);
|
super.processCookie(request, 1, "抖音",dyCookie);
|
||||||
|
|||||||
Reference in New Issue
Block a user