Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scottish Parliament parser fixes #199

Merged
merged 2 commits into from
Dec 24, 2024
Merged

Scottish Parliament parser fixes #199

merged 2 commits into from
Dec 24, 2024

Conversation

ajparsons
Copy link
Contributor

@ajparsons ajparsons commented Dec 23, 2024

Two quick fixes:

1 - We're not always downloading the meetings of the parliament because there are no references to it till the second page. Parser was using the wrong variable to tell it when to stop. Fixed that and it pulls down more consistently.

2 - In the Scottish Parliament (because of electronic voting) they sometimes hold votes where everyone is on one side of a division. There was an assumption in the parser when converting that there would be at least 2 MSP lists. Changing a 1 to a 0 makes it happy and things get processed correctly. #193

- should fetch more results based on the search returns, rather then the
number of headers those link to.
SP can have divisions where everyone votes the same way - so there can be just one msplist
@ajparsons ajparsons requested a review from dracos December 24, 2024 09:24
@ajparsons ajparsons merged commit 116f649 into master Dec 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants