Retriever is deactivated, see issue 3482 #419

Merged
annando merged 3 commits from bad-retriever into master 2017-08-19 12:17:01 +02:00
Showing only changes of commit 59229fa7d5 - Show all commits

View file

@ -71,10 +71,14 @@ function leistungsschutzrecht_fetchsites() {
$sitelist = fetch_url($url);
$siteurls = explode(',', $sitelist);
$whitelist = array('tagesschau.de', 'heute.de', 'wdr.de');
$sites = array();
foreach ($siteurls AS $site) {
if (!in_array($site, $whitelist)) {
$sites[$site] = $site;
}
}
// I would prefer parsing the list from the original site, but I haven't found a list.
// The following stays here to possibly reenable it in the future without having to reinvent the wheel completely.