mysociety / parlparse

The scraper/parser that produces data for TheyWorkForYou, PublicWhip, etc
Other
61 stars 22 forks source link

Sometimes using title of previous division for last divivsion in a debate #145

Open struan opened 3 years ago

struan commented 3 years ago

e.g https://www.theyworkforyou.com/debates/?id=2021-07-05b.690.2#g702.0 has two votes titled "Police, Crime, Sentencing and Courts Bill — New Clause 98 - Offence of pet theft" but the second is for the bill to proceed to a third reading.

struan commented 3 years ago

NB: this may be due to errors in the XML and not our problem. In this case it's because:

<hs_Para UID="21070568000603" tab="yes" url="/pa/cm202122/cmhansrd/cm210705/debtext/210705-0005.htm#21070568000603"><I>Third Reading</I></hs_Para>