mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-27 03:50:42 +03:00
[ZoneTelechargement] Update unprotected URL and Feed URL (#2065)
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.
This commit is contained in:
parent
e1c19461ca
commit
146639ffc9
1 changed files with 11 additions and 1 deletions
|
@ -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/';
|
||||
|
@ -142,6 +142,16 @@ class ZoneTelechargementBridge extends BridgeAbstract {
|
|||
}
|
||||
}
|
||||
|
||||
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
|
||||
$element = $element->parent();
|
||||
|
|
Loading…
Reference in a new issue