mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 19:06:23 +03:00
[ComboiosDePortugalBridge] Temporarily ignore certificate checks (#2403)
This commit is contained in:
parent
d0ef8aa71d
commit
8530aa54f2
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ class ComboiosDePortugalBridge extends BridgeAbstract {
|
|||
const MAINTAINER = 'somini';
|
||||
|
||||
public function collectData() {
|
||||
$html = getSimpleHTMLDOM($this->getURI() . '/consultar-horarios/avisos');
|
||||
# Do not verify SSL certificate (the server doesn't send the intermediate)
|
||||
# https://github.com/RSS-Bridge/rss-bridge/issues/2397
|
||||
$html = getSimpleHTMLDOM($this->getURI() . '/consultar-horarios/avisos', array(), array(
|
||||
CURLOPT_SSL_VERIFYPEER => 0,
|
||||
));
|
||||
|
||||
foreach($html->find('.warnings-table a') as $element) {
|
||||
$item = array();
|
||||
|
|
Loading…
Reference in a new issue