Skip to content

augeas/just_scraping

Repository files navigation

just_scraping

This is a Scrapy spider for crawling JustGiving crowd-funder pages.

It was written to investigate crowd-funding for sacked Met Officers:

In July 2020, the Metropolitan Police stopped, searched, and restrained athletes Bianca Williams and Ricardo dos Santos, on supposed suspicion of possesion of drugs and weapons, despite their child being present in their car. A misconduct hearing found that this was wholly unjustified, and two officers were dismissed for gross misconduct.

Bianca Williams was reportedly shocked at the amount of money raised by a crowd-funder for the two officers. The page states that comments have been taken down to "respect the impending Appeal". In fact, enabling developer tools and observing the network tab shows that that comments are still transmitted by API calls, and just not displayed. Some donations have a "userId" associated with them, and it is a simple matter to gather data for the crowd-funding campaign.

  • Not all donations for a campaign are returned, but about 90% of funds are recorded.
  • The Met Police campaign differs significantly from others.
  • Over half of donations recorded by the API are attributable to a single user-ID.

cumulative donations distribution of dontations

You can experiment with capturing and investigating the data for yourself on binderhub...

Binder

... or run the spider locally, capturing data to a .csv file as follows:

git clone https://github.com/augeas/just_scraping.git
python3 -m venv just_scraping
cd just_scraping
source ./bin/activate
pip install -r requirements.txt
scrapy crawl crowdfunding -a campaign=Clapham-Franks -o met.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published