Update CryptomeBridge.php
Use direct (non-HTTPs) cryptome.org URI.
This commit is contained in:
parent
a1e360522c
commit
411b3280d1
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ class CryptomeBridge extends BridgeAbstract{
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = '';
|
$html = '';
|
||||||
$num = 90;
|
$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);
|
$html = file_get_html($link) or $this->returnError('Could not request Cryptome.', 404);
|
||||||
if (isset($param['n'])) { /* number of documents */
|
if (isset($param['n'])) { /* number of documents */
|
||||||
|
|
Loading…
Reference in a new issue