mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[ComboiosDePortugalBridge] Temporarily ignore certificate checks (#2403)
This commit is contained in:
parent
d0ef8aa71d
commit
8530aa54f2
@ -7,7 +7,11 @@ class ComboiosDePortugalBridge extends BridgeAbstract {
|
|||||||
const MAINTAINER = 'somini';
|
const MAINTAINER = 'somini';
|
||||||
|
|
||||||
public function collectData() {
|
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) {
|
foreach($html->find('.warnings-table a') as $element) {
|
||||||
$item = array();
|
$item = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user