Web Scraping JD.com Data Using Java Jsoup and Handling Security Cookies
Jsoup is a robust Java library designed for working with real-world HTML. It provides a convenient API for fetching URLs and extracting data using DOM methods or CSS selectors. This guide demonstrates how to scrape product listings from JD.com, specifically addressing the anti-crawler mechanisms that redirect requests to a security verification ...
Posted on Thu, 06 Aug 2026 16:46:28 +0000 by xplosiongames
Building a Novel Scraper for Offline Reading
Novel Data Extraction
Fetching Book Listings
To efficiently extract novel information from recommendation pages, we can parse specific elements without rendering the entire webpage. This approach focuses on retrieving essential book data from the listing section.
request_headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWeb ...
Posted on Tue, 04 Aug 2026 16:32:26 +0000 by name1090
Extracting Keys from JSON Data in Hive
Process Overview
To extract keys from JSON data in Hive, follow these steps:
Step
Action
1
Create a Hive table
2
Load JSON data into the table
3
Extract keys from the JSON
Step 1: Create a Hive Table
Define a table to store JSON strings. Use the following SQL command:
CREATE TABLE IF NOT EXISTS json_data_table (
json_content S ...
Posted on Thu, 23 Jul 2026 16:21:48 +0000 by wildcolour
Scraping Taobao Model Personal Profiles and Avatar Photos with Python
Many older Python scripts for scraping Taobao model content no longer function due to frequent updates to Taobao’s web pages. This walkthrough uses a refreshed approach to capture profile data and images.
1. Fetch Entry-Level Model Profile Links
Start by retrieving top-list model page content and converting card URLs to profile page URLs. Use S ...
Posted on Wed, 15 Jul 2026 17:00:54 +0000 by fewtrem
Introduction to Scrapy Framework and Basic Usage
Overview
This article covers an introduction to the Scrapy framework, installation instructions, and fundamental usage patterns.
What is Scrapy?
Scrapy is a powerful Python framework designed for extracting structured data from websites. It provides a complete solution for web crawling tasks, integrating features like asynchronous downloading, ...
Posted on Sun, 21 Jun 2026 17:18:44 +0000 by faizanno1
Web Scraping for Practical Data Extraction Using Python
Install Required Dependencies
To begin web scraping, install the necessary Python packages requests and beautifulsoup4.
pip install requests beautifulsoup4
Construct a Simple Data Scraper
This script demonstrates how to retrieve and parse content from a static webpage.
import requests
from bs4 import BeautifulSoup
# Define the target web addr ...
Posted on Sat, 13 Jun 2026 17:08:30 +0000 by toyfruit
Building a Basic Web Scraper with Python
A web scraper automates the extraction of data from websites. The core process involves two primary steps: fetching web content and parsing the desired information.
To begin, install the requests library, which handles HTTP requests.
pip install requests
Many websites restrict automated access. To mimic a real browser, you need to set a User-A ...
Posted on Tue, 19 May 2026 09:30:13 +0000 by lorenzo-s
Efficient PDF Table Data Extraction to Text and Excel Using Python Libraries
Extracting tabular data from PDF documents, while crucial for analytics and automation workflows, can be challenging due to the format's non-editable nature. Manual copy-pasting is inefficient and prone to errors like data misalignment or omissions. This guide outlines a streamlined approach using Python with dedicated libraries for precise PDF ...
Posted on Wed, 13 May 2026 15:36:24 +0000 by Grayda
Parsing HTML Content with Beautiful Soup in Python
Beautiful Soup is a Python library for parsing HTML and XML documents, creating parse trees that are helpful for extarcting data from web pages. It provides simple methods for navigating, searching, and mdoifying the parse tree.
Installation
pip install beautifulsoup4
Basic Usage
from bs4 import BeautifulSoup
html_doc = """
< ...
Posted on Sun, 10 May 2026 16:24:05 +0000 by cornix