Skip to content

Commit

Permalink
[ZoneTelechargementBridge] Switch to the new Website (#934)
Browse files Browse the repository at this point in the history
* [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.
  • Loading branch information
sysadminstory authored and teromene committed Nov 20, 2018
1 parent e09f452 commit b4dbd19
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions bridges/ZoneTelechargementBridge.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
<?php
class ZoneTelechargementBridge extends BridgeAbstract {
const NAME = 'Zone Telechargement';
const URI = 'https://www.zone-telechargement1.org/';
const DESCRIPTION = 'Suivi de série sur Zone Telechargement';

/* This bridge was initally done for the Website 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 PARAMETERS = array(
'Suivre la publication des épisodes d\'une série en cours de diffusion' => array(
'url' => array(
'name' => 'URL de la série',
'type' => 'text',
'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'
)
)
);

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(){
Expand Down

0 comments on commit b4dbd19

Please sign in to comment.