Update CryptomeBridge.php

Use direct (non-HTTPs) cryptome.org URI.
This commit is contained in:
Sébastien SAUVAGE 2013-08-14 14:37:57 +02:00
parent a1e360522c
commit 411b3280d1

View file

@ -13,7 +13,9 @@ class CryptomeBridge extends BridgeAbstract{
public function collectData(array $param){
$html = '';
$num = 90;
$link = 'https://secure.netsolhost.com/cryptome.org/';
$link = 'http://cryptome.org/';
// If you want HTTPS access instead, uncomment the following line:
//$link = 'https://secure.netsolhost.com/cryptome.org/';
$html = file_get_html($link) or $this->returnError('Could not request Cryptome.', 404);
if (isset($param['n'])) { /* number of documents */