summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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);