Skip to content

Commit

Permalink
Merge pull request #112 from tcarreira/ignorar-html-err
Browse files Browse the repository at this point in the history
Ignorar erros do html parser
  • Loading branch information
marado authored Oct 18, 2024
2 parents d3c282c + e5a854d commit 0ecf376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/01-parlamento.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Incumprimentos: Vídeos disponibilizados em WMV, Canal Parlamento em Flash

## a) Vídeos disponibilizados em WMV
wget http://www.parlamento.pt/ActividadeParlamentar/Paginas/DetalheAudiencia.aspx?BID=99371 -o /dev/null -O - | \
hxnormalize -x -l 10000 | grep "Links associados" -A 100 | \
wget 'http://www.parlamento.pt/ActividadeParlamentar/Paginas/DetalheAudiencia.aspx?BID=99371' -o /dev/null -O - | \
hxnormalize -x -l 10000 2>/dev/null | grep "Links associados" -A 100 | \
grep "Bottom Fixed Nav" -B 100 | hxnormalize -x -l 10000|hxselect a -s '\n'|hxnormalize|grep href|cut -d\" -f2 > tmp

a=$(diff tmp scripts/01/DetalheAudiencia.aspx?BID=99371 |wc -l)
Expand Down

0 comments on commit 0ecf376

Please sign in to comment.