Stories from the Web Crawling trenches in Kotlin

How to Build a Super Simple HTTP Proxy in Kotlin in just 20 lines of code

Author: Mohan Ganesan

Date: Oct 1, 2023

Kotlin makes server-side development concise yet powerful. Here is a basic HTTP proxy server in Kotlin in less than 20 lines of code.

The Ultimate KSoup Cheatsheet for Kotlin

Author: Mohan Ganesan

Date: Oct 31, 2023

KSoup is an HTML parser for Kotlin that provides a convenient DSL for extracting and manipulating data from HTML documents.

Scraping All Images from a Website with Kotlin

Author: Mohan Ganesan

Date: Dec 13, 2023

Practical guide to scraping images from a website using Kotlin code. Learn how to extract data, download images, and overcome IP blocks.

Scraping Multiple Pages in Kotlin with HTTP Client and kotlinx.html

Author: Mohan Ganesan

Date: Oct 15, 2023

Web scraping in Kotlin using native HTTP client and kotlinx.html libraries to extract data from multiple pages. Use CSS selectors to scrape and extract information. Consider using Proxies API for scaling web scraping.

Web Scraping with Kotlin & ChatGPT

Author: Mohan Ganesan

Date: Sep 25, 2023

Kotlin is a great language for web scraping with ChatGPT. Use libraries like Ktor and Jsoup for HTTP requests and HTML parsing. ChatGPT can provide explanations and code snippets for scraping tasks.

Scrape Any Website with OpenAI Function Calling in Kotlin

Author: Mohan Ganesan

Date: Sep 25, 2023

Web scraping with OpenAI in Kotlin allows resilient data extraction from websites, adapting to changes in HTML structure.

Scraping Yelp Business Listings in Kotlin

Author: Mohan Ganesan

Date: Dec 6, 2023

Yelp data extraction using Kotlin for scraping key data points from listings in San Francisco.

Scraping Reddit Posts in Kotlin

Author: Mohan Ganesan

Date: Jan 9, 2024

Scrape Reddit posts using Kotlin script, send HTTP requests, parse HTML, and extract key data using selectors.

Downloading Images from a Website with Kotlin and Jsoup

Author: Mohan Ganesan

Date: Oct 15, 2023

Learn how to use Kotlin and Jsoup to download images from a Wikipedia page, extract data from HTML tables, and scrape websites. Use Proxies API for scaling web scraping.

Scraping Booking.com Property Listings in Kotlin in 2023

Author: Mohan Ganesan

Date: Oct 15, 2023

Learn how to scrape property listings from Booking.com using Kotlin, Ktor, and kotlinx.html. Extract details like property name, location, ratings, etc.

Scraping eBay Listings with Kotlin and HttpClient in 2023

Author: Mohan Ganesan

Date: Oct 5, 2023

eBay is a large online marketplace. This tutorial explains how to scrape and extract data from eBay listings using Kotlin and the HttpClient library.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!