From 23b20e20b1f475e8dfc0d4037f167d484e0bd374 Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Sun, 11 Apr 2021 22:43:06 +0200 Subject: [PATCH 1/2] [ZoneTelechargement] Update unprotected URL and Feed URL The unproteced URL has changed again, and has been updated. The RSS Feed URL is now a link to the Show page and not to the Homepage anymore. --- bridges/ZoneTelechargementBridge.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bridges/ZoneTelechargementBridge.php b/bridges/ZoneTelechargementBridge.php index 1158272b545..c7cddb0d55b 100644 --- a/bridges/ZoneTelechargementBridge.php +++ b/bridges/ZoneTelechargementBridge.php @@ -34,7 +34,7 @@ class ZoneTelechargementBridge extends BridgeAbstract { ); // This is an URL that is not protected by robot protection for Direct Download - const UNPROTECTED_URI = 'https://www.zt-za.com/'; + const UNPROTECTED_URI = 'https://www.zone-telechargement.net/'; // This is an URL that is not protected by robot protection for Streaming Links const UNPROTECTED_URI_STREAMING = 'https://zone-telechargement.stream/'; @@ -141,6 +141,16 @@ public function getName() { return self::NAME; } } + + public function getURI() { + switch($this->queriedContext) { + case 'Suivre la publication des épisodes d\'une série en cours de diffusion': + return self::URI . $this->getInput('url'); + break; + default: + return self::URI; + } + } private function findLinkHoster($element) { // The hoster name is one level higher than the link tag : get the parent element From 551788078a7efd0200331513f3032ee60de92bbb Mon Sep 17 00:00:00 2001 From: sysadminstory Date: Sun, 11 Apr 2021 22:48:35 +0200 Subject: [PATCH 2/2] [ZoneTelechargement] Update unprotected URL and Feed URL Coding policy fix ! --- bridges/ZoneTelechargementBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/ZoneTelechargementBridge.php b/bridges/ZoneTelechargementBridge.php index c7cddb0d55b..fcad0dcbd61 100644 --- a/bridges/ZoneTelechargementBridge.php +++ b/bridges/ZoneTelechargementBridge.php @@ -141,7 +141,7 @@ public function getName() { return self::NAME; } } - + public function getURI() { switch($this->queriedContext) { case 'Suivre la publication des épisodes d\'une série en cours de diffusion':