Skip to content

Commit 67f9f53

Browse files
committed
add: comentarios para parser de restricción pag
1 parent e00b4a9 commit 67f9f53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bash/restric_mopt_img_download.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/bash
22

3+
# Como usar:
4+
# entrar en el directorio que contiene el script y ejecutar en linea de comandos como se muestra:
5+
# $ bash restric_mopt_img_dowunload.sh
6+
# el resultado será una imagen restric.png y en la consola se vera la URL de esta imagen en el servidor del MOPT
7+
38
IMAGE_URL="$(
49
wget -O - --quiet --no-check-certificate 'https://www.mopt.go.cr/wps/portal/Home/informacionrelevante/restriccion/' |
510
grep '<img[^>]*[^>]*>' -o |

0 commit comments

Comments
 (0)