1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 14:18:35 +01:00

[GenshinImpactBridge] fix missing articles (#3073)

This commit is contained in:
Corentin Garcia 2022-10-01 08:42:02 +02:00 committed by GitHub
parent 8ac5045963
commit c4d95558af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ class GenshinImpactBridge extends BridgeAbstract
$category = $this->getInput('category'); $category = $this->getInput('category');
$url = 'https://genshin.mihoyo.com/content/yuanshen/getContentList'; $url = 'https://genshin.mihoyo.com/content/yuanshen/getContentList';
$url = $url . '?pageSize=3&pageNum=1&channelId=' . $category; $url = $url . '?pageSize=5&pageNum=1&channelId=' . $category;
$api_response = getContents($url); $api_response = getContents($url);
$json_list = json_decode($api_response, true); $json_list = json_decode($api_response, true);