Data Journalism
How Non-Coding Journalists Can Build Web Scrapers With AI — Examples and Prompts Included
With basic web knowledge, guidance, and examples, even non-coding journalists can build a scraper with large language models.
With basic web knowledge, guidance, and examples, even non-coding journalists can build a scraper with large language models.
Many reporters never notice the “inspect element” option below the “copy” and save-as” functions in the right-click menu on any webpage related to their investigation. But it turns out that this little-used web inspector tool can dig up a wealth of hidden information from a site’s source code, reveal the raw data behind graphics, and download images and videos that supposedly cannot be saved.
Journalists have used scrapers to collect data that rooted out extremist cops, tracked lobbyists, and uncovered an underground market for adopted children. The Markup recently made the case for web scraping in an amicus brief before the United States Supreme Court that threatens to make the practice illegal. Here’s why they did it.
If you didn’t make it to Seoul for this year’s Uncovering Asia conference — or couldn’t be at two panels at the same time — never fear, tipsheets from our impressive speakers are here! But just in case you can’t decide where to start, here are five presentations that are definitely worth checking out.
Four years of work and 8,000 judicial rulings later, the team at Univision Data shows how in Costa Rica, a person is more likely to be convicted of a crime if they are assigned a public defense attorney than if they have a private one. Their methodology included web scraping, R and logistic regression — a statistical method common in social sciences but practically unexplored in newsrooms.
As 2015 nears an end, we’d like to share our top 12 stories of the year — the stories that you, our dear readers, found most compelling. The list ranges from free data tools and crowdfunding to the secrets of the Wayback Machine. Please join us in taking a look at The Best of GIJN.org this year.
Web scraping is a way to extract information presented on websites. As I explained it in the first installment of this article, web scraping is used by many companies. It’s also a great tool for reporters who know how to code, since more and more public institutions publish their data on their websites.
With web scrapers, which are also called “bots,” it’s possible to gather large amounts of data for stories. But what are the ethical rules that reporters have to follow while web scraping?
$8 billion in just a few hours earlier this year? It was because of a web scraper, a tool companies use—as do many data reporters. A web scraper is simply a computer program that reads the HTML code from webpages, and analyze it. With such a program, or “bot,” it’s possible to extract data and information from websites.
In 2001 GIJN was born, as investigative journalists from around the globe met for the very first time to share ideas, tips, and best practices to strengthen their reporting in a world where journalism was increasingly under threat.
Today the threat has multiplied, and at GIJN we find ourselves under the same pressures as our member organizations. Most urgently: available funding for investigative journalism has been impacted as some longtime funders who supported journalism in the past are no longer doing so or have closed. Yet our work continues, more important than ever before.
GIJN serves as the global hub for the world’s investigative reporters. Our core mission is to support and strengthen investigative journalism—with special attention to those from repressive regimes and marginalized communities.
We are embarking on our first-ever campaign initiative to help us expand our revenue by the end of the year through individual donors. If you have ever joined one of our free webinars, used one of our free resources, learned a new skill thanks to a GIJN training, or simply believe that press freedom is essential to civil society, we ask you to show your support for GIJN’s work with a donation of your choosing. Called “Friends of GIJN,” this campaign includes a more personalized experience, starting in 2027, for individuals who answer the call to join with us during this unprecedented time.
Truth and democracy are under attack around the world. You can fight back by helping GIJN support investigative journalists with free access to the latest tools and techniques — so they can foster justice and hold accountable those who abuse the public trust.
With a staff based in 24 countries, GIJN works in a dozen languages each day, linking together the world’s most enterprising journalists, offering state-of-the-art training, webinars, tip sheets, and a Help Desk that responds to 2,000+ requests for assistance each year. More than 84% of GIJN’s operating budget goes directly to our program work.
Please make a gift today to support journalists on the front lines of the fight for accountability and human rights.