|
@ -59,6 +59,10 @@ class Parse { |
|
|
]); |
|
|
]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(parse_url($url, PHP_URL_PATH) == '') { |
|
|
|
|
|
$url = $url . '/'; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Now fetch the URL and check for any curl errors
|
|
|
// Now fetch the URL and check for any curl errors
|
|
|
$result = $this->http->get($url); |
|
|
$result = $this->http->get($url); |
|
|
|
|
|
|
|
|