@@ -25,13 +25,13 @@ |
||
| 25 | 25 | $request = curl_init($url); |
| 26 | 26 | |
| 27 | 27 | $default_options = [ |
| 28 | - CURLOPT_FAILONERROR => true, |
|
| 29 | - CURLOPT_FOLLOWLOCATION => true, |
|
| 30 | - CURLOPT_RETURNTRANSFER => true, |
|
| 31 | - CURLOPT_TIMEOUT => 15, |
|
| 32 | - CURLOPT_SSL_VERIFYPEER => 0, |
|
| 33 | - CURLINFO_HEADER_OUT => true |
|
| 34 | - ] + $options; |
|
| 28 | + CURLOPT_FAILONERROR => true, |
|
| 29 | + CURLOPT_FOLLOWLOCATION => true, |
|
| 30 | + CURLOPT_RETURNTRANSFER => true, |
|
| 31 | + CURLOPT_TIMEOUT => 15, |
|
| 32 | + CURLOPT_SSL_VERIFYPEER => 0, |
|
| 33 | + CURLINFO_HEADER_OUT => true |
|
| 34 | + ] + $options; |
|
| 35 | 35 | |
| 36 | 36 | curl_setopt_array($request, $default_options); |
| 37 | 37 | |
@@ -9,18 +9,18 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * @return void |
| 11 | 11 | */ |
| 12 | - public function boot() |
|
| 13 | - { |
|
| 14 | - $this->app->singleton('tzsk-scrape-pod', function() { |
|
| 15 | - return new ScrapePodcast(); |
|
| 16 | - }); |
|
| 17 | - } |
|
| 12 | + public function boot() |
|
| 13 | + { |
|
| 14 | + $this->app->singleton('tzsk-scrape-pod', function() { |
|
| 15 | + return new ScrapePodcast(); |
|
| 16 | + }); |
|
| 17 | + } |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @return void |
| 21 | 21 | */ |
| 22 | - public function register() |
|
| 23 | - { |
|
| 24 | - // |
|
| 25 | - } |
|
| 22 | + public function register() |
|
| 23 | + { |
|
| 24 | + // |
|
| 25 | + } |
|
| 26 | 26 | } |
| 27 | 27 | \ No newline at end of file |