Commit 9db93e00 authored by Aurélio A. Heckert's avatar Aurélio A. Heckert

Test empty non 404 "pesquisadores" list page

parent 26ab0ce6
...@@ -43,7 +43,7 @@ done ...@@ -43,7 +43,7 @@ done
baseURL=http://www.cienciaecultura.ufba.br/agenciadenoticias/pesquisadores/?pagina baseURL=http://www.cienciaecultura.ufba.br/agenciadenoticias/pesquisadores/?pagina
curPag=1 curPag=1
while download $baseURL=$curPag/ pag.html; do while (download $baseURL=$curPag/ pag.html && grep 'class="item-destaque"' pag.html); do
echo ">> Pag $curPag" echo ">> Pag $curPag"
echo $(cat pag.html) | echo $(cat pag.html) |
sed -r 's#(</?div)#\n\1#g' | sed -r 's#(</?div)#\n\1#g' |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment