7
0
mirror of https://github.com/marado/RNID.git synced 2024-10-22 16:00:35 +00:00

Merge pull request #112 from tcarreira/ignorar-html-err

Ignorar erros do html parser
This commit is contained in:
Marcos Marado 2024-10-18 20:45:38 +01:00 committed by GitHub
commit 0ecf3768ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)