issues
search
regardscitoyens
/
the-law-factory-parser
Data generator for the-law-factory project
https://www.lafabriquedelaloi.fr
GNU General Public License v3.0
45
stars
9
forks
source link
Cleanup logs (first batch)
#100
Closed
boogheta
closed
6 years ago
boogheta
commented
6 years ago
[x] fix the "REGRESSION DURING MERGE " warnings not caught in each text parsing's logs
[x] fix last line (content of Exception) not printed in individual text parsing's log file
[x] add a quiet option to parse_many for crons that only outputs something like :
https://www.senat.fr/dossier-legislatif/pjl17-259.html
SUCCESS:
https://www.lafabriquedelaloi.fr/articles.html?loi=pjl17-259
https://www.senat.fr/dossier-legislatif/pjl17-259.html
FAILED:
https://www.lafabriquedelaloi.fr/api/logs/pjl17-259
raise Exception('[parse_texts] Invalid response %s' % url) Exception: [parse_texts] Invalid response
http://www.assemblee-nationale.fr/15/ta/ta0165.asp
...
Bonus: Show "Still failing"
Bonus: Show "Still failing"