[ZoneTelechargementBridge] Switch to the new Website (#934)
* [ZoneTelechargementBridge] Switch to the new Website The website zone-telechargement1.org decided that he will be using a new domain at the end of november : https://www.annuaire-telechargement.com/ The bridge uses the new domain but still uses the same filename and class name to keep the existing feed working.
This commit is contained in:
parent
e09f452426
commit
b4dbd191d0
1 changed files with 12 additions and 5 deletions
|
@ -1,8 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
class ZoneTelechargementBridge extends BridgeAbstract {
|
class ZoneTelechargementBridge extends BridgeAbstract {
|
||||||
const NAME = 'Zone Telechargement';
|
|
||||||
const URI = 'https://www.zone-telechargement1.org/';
|
/* This bridge was initally done for the Website Zone Telechargement,
|
||||||
const DESCRIPTION = 'Suivi de série sur Zone Telechargement';
|
* but the website changed it's name and URL.
|
||||||
|
* Therefore, the class name and filename does not correspond to the
|
||||||
|
* name of the bridge. This permits to keep the same RSS Feed URL.
|
||||||
|
*/
|
||||||
|
|
||||||
|
const NAME = 'Annuaire Telechargement';
|
||||||
|
const URI = 'https://www.annuaire-telechargement.com/';
|
||||||
|
const DESCRIPTION = 'Suivi de série sur Annuaire Telechargement';
|
||||||
const MAINTAINER = 'sysadminstory';
|
const MAINTAINER = 'sysadminstory';
|
||||||
const PARAMETERS = array(
|
const PARAMETERS = array(
|
||||||
'Suivre la publication des épisodes d\'une série en cours de diffusion' => array(
|
'Suivre la publication des épisodes d\'une série en cours de diffusion' => array(
|
||||||
|
@ -10,14 +17,14 @@ class ZoneTelechargementBridge extends BridgeAbstract {
|
||||||
'name' => 'URL de la série',
|
'name' => 'URL de la série',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'title' => 'URL d\'une série sans le https://ww4.zone-telechargement1.org/',
|
'title' => 'URL d\'une série sans le https://www.annuaire-telechargement.com/',
|
||||||
'exampleValue' => 'telecharger-series/31079-halt-and-catch-fire-saison-4-french-hd720p.html'
|
'exampleValue' => 'telecharger-series/31079-halt-and-catch-fire-saison-4-french-hd720p.html'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
public function getIcon() {
|
public function getIcon() {
|
||||||
return 'https://ww7.zone-telechargement1.org/templates/Default/images/favicon.ico';
|
return 'https://www.annuaire-telechargement.com/templates/Default/images/favicon.ico';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
|
|
Loading…
Reference in a new issue