From bef8b37df4b07804c04f54b2e2afcc9770275f51 Mon Sep 17 00:00:00 2001 From: lkeme <1462364497@qq.com> Date: Sun, 3 Oct 2021 23:56:52 +0800 Subject: [PATCH] [update] AdjustParameter --- src/plugin/Barrage.php | 2 +- src/script/UnFollow.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin/Barrage.php b/src/plugin/Barrage.php index 833390a..463f922 100644 --- a/src/plugin/Barrage.php +++ b/src/plugin/Barrage.php @@ -26,7 +26,7 @@ class Barrage } self::setPauseStatus(); if (self::sendMsg()) { - self::setLock(mt_rand(40, 80) * 60); + self::setLock(mt_rand(180, 240) * 60); return; } self::setLock(15 * 60); diff --git a/src/script/UnFollow.php b/src/script/UnFollow.php index f45c6f9..df673fc 100644 --- a/src/script/UnFollow.php +++ b/src/script/UnFollow.php @@ -77,7 +77,7 @@ class UnFollow extends BaseTask * @return array * @throws \Exception */ - private static function relationTag($tag_id, int $max_pn = 30, int $max_ps = 20): array + private static function relationTag($tag_id, int $max_pn = 60, int $max_ps = 20): array { $following = []; $url = 'https://api.bilibili.com/x/relation/tag';