Skip to content

Commit

Permalink
[UK] Wikipedia have moved the list to a different page.
Browse files Browse the repository at this point in the history
Also run daily for the moment.
  • Loading branch information
dracos committed May 24, 2024
1 parent 8b14c82 commit 0acf263
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions members/wikipedia-standingdown.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,8 @@
<personinfo id="uk.org.publicwhip/person/11003" name="Kevan Jones" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/24866" name="Michael Ellis" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/10499" name="John Redwood" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/25437" name="Craig Mackinlay" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/11884" name="Greg Clark" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/11408" name="David Evennett" standing_down_2024="1" />
<personinfo id="uk.org.publicwhip/person/11858" name="Michael Gove" standing_down_2024="1" />
</publicwhip>
5 changes: 5 additions & 0 deletions scripts/dailyupdate
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ YEAR=`date +%Y`

cd ~/parlparse/scripts
./fetch-pw-json

cd ~/parlparse/rawdata
curl -s "https://en.wikipedia.org/wiki/Candidates_in_the_2024_United_Kingdom_general_election" > Members_of_the_2024_standing_down
cd ~/parlparse/members
./wikipedia-standingdown.py > wikipedia-standingdown.xml
2 changes: 0 additions & 2 deletions scripts/weeklyupdate
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ curl -s "https://en.wikipedia.org/wiki/3rd_Scottish_Parliament" > Members_of_the
curl -s "https://en.wikipedia.org/wiki/4th_Scottish_Parliament" > Members_of_the_4th_Scottish_Parliament
curl -s "https://en.wikipedia.org/wiki/5th_Scottish_Parliament" > Members_of_the_5th_Scottish_Parliament
curl -s "https://en.wikipedia.org/wiki/6th_Scottish_Parliament" > Members_of_the_6th_Scottish_Parliament
curl -s "https://en.wikipedia.org/wiki/2024_United_Kingdom_general_election" > Members_of_the_2024_standing_down
#svn -q commit -m "Weekly rawdata scrape commit"
cd ~/parlparse/members
./wikipedia-lords.py > wikipedia-lords.xml
./wikipedia-commons.py > wikipedia-commons.xml
./wikipedia-standingdown.py > wikipedia-standingdown.xml
# ./bbcconv.py > bbc-links.xml
cd ~/parlparse/pyscraper
ni/wikipedia-mla.py > ../members/wikipedia-mla.xml
Expand Down

0 comments on commit 0acf263

Please sign in to comment.