NEWScrapingAnt MCP for Claude Code, Cursor & Windsurf — try it free →
Skip to main content

4 posts tagged with "java"

View All Tags

Web Scraping with Playwright Java: A Runnable Maven Example

· 9 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Web Scraping with Playwright Java: A Runnable Maven Example

Correction (2026-09-30)

The earlier version contained disconnected Maven fragments, a subclass accessing a private field, an undefined robots helper, and an incorrect retry helper. Those were source-inspection findings, not compiler results from this experiment. This refresh replaces them with a tested project and removes unsupported hardware and performance claims.

A Java scraper needs to know when a page's data is complete, what a valid record looks like, and whether an empty result means success or failure. This walkthrough runs Playwright against an owned catalog whose products appear after JavaScript executes. It exports validated JSON and checks failure outcomes without contacting a customer site.

The complete Maven project includes the entry point, fixture server, scraper, build configuration and tests. Its captured run passed all six controlled scenarios. That is evidence about this fixture, not a success rate for arbitrary websites.

How to download images with Java?

· 16 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

How to download images with Java?

In the current digital age, the ability to download and process images efficiently is an essential skill for Java developers. Whether it's for a simple application or a complex system, understanding the various methods available for image downloading can significantly enhance performance and functionality. This comprehensive guide explores five key methods for downloading images in Java, utilizing built-in libraries, third-party libraries, and advanced techniques (Oracle Java Documentation). Each method is detailed with step-by-step explanations and code samples, making it suitable for both beginners and experienced developers. Additionally, we delve into performance optimization, reliability, memory management, security considerations, and the best libraries for efficient image downloading. By understanding these concepts, developers can create robust and efficient image downloading solutions tailored to their specific needs.

This article is a part of the series on image downloading with different programming languages. Check out the other articles in the series:

Web Scraping with Java

· 16 min read
Oleg Kulyk
Co-Founder @ ScrapingAnt

Web Scraping with Java

Java is one of the most popular and high demanded programming languages nowadays. It allows creating highly-scalable and reliable services as well as multi-threaded data extraction solutions. Let's check out the main concepts of web scraping with Java and review the most popular libraries to setup your data extraction flow.