summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-02-02 12:24:48 -0300
committerYaco <franco@reevo.org>2019-02-02 12:24:48 -0300
commit8a226f8d59657734fd710128542d25204693e4d6 (patch)
tree64a07bab8025be342487f12fbd707863ea586f9f /bin
parent4d02a17d20c6369c2dacffbe89302aaca4eeed54 (diff)
hace que curl siga las redirecciones de https
Diffstat (limited to 'bin')
-rw-r--r--bin/wiki/GeneraSnapshot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wiki/GeneraSnapshot.php b/bin/wiki/GeneraSnapshot.php
index b92764ce..e1c0f485 100644
--- a/bin/wiki/GeneraSnapshot.php
+++ b/bin/wiki/GeneraSnapshot.php
@@ -52,7 +52,7 @@ function GeneraSnapshot($pagetitle, $services) {
return;
}
// Obtiene copia de texto del articulo
- $command = 'curl -s ' . $url . ' | unfluff | jq -r .text > /tmp/linkcontent';
+ $command = 'curl -Ls ' . $url . ' | unfluff | jq -r .text > /tmp/linkcontent';
// echo "$command\n";
exec($command);