mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
RainbowSixSiegeBridge fix url coding style error
This commit is contained in:
parent
fa85267f69
commit
014d0d470e
@ -8,10 +8,10 @@ class RainbowSixSiegeBridge extends BridgeAbstract {
|
|||||||
const DESCRIPTION = 'Latest articles from the Rainbow Six Siege blog';
|
const DESCRIPTION = 'Latest articles from the Rainbow Six Siege blog';
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
$jsonString = getContents("https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-7677" .
|
$dlUrl = "https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-7677";
|
||||||
"8-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64" .
|
$dlUrl .= "8-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64";
|
||||||
"&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true")
|
$dlUrl .= "&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true";
|
||||||
or returnServerError('Error while downloading the website content');
|
$jsonString = getContents($dlUrl) or returnServerError('Error while downloading the website content');
|
||||||
|
|
||||||
$json = json_decode($jsonString, true);
|
$json = json_decode($jsonString, true);
|
||||||
$json = $json['items'];
|
$json = $json['items'];
|
||||||
|
Loading…
Reference in New Issue
Block a user