Python Web Scraping: Three Data Parsing Methods

Data Scraping Workflow Review The standard process for scraping data with requests: Specify target URL Make request via requests module Extract data from response object Data parsing (critical step for focused crawlers) Persist to storage Most practical scenarios require focused crawlers that extract specific portions of page data rather than ...

Posted on Wed, 05 Aug 2026 16:40:51 +0000 by dineshsjce

Data Extraction from HTML Using Java and Regular Expressions

Regular expressions (regex) serve as a powerful mechanism for identifying and extracting specific patterns within large blocks of text. In the context of web scraping, regex allows developers to parse HTML source code to retrieve specific data points such as URLs, email addresses, or meta tags without the overhead of a full DOM parser. Core Com ...

Posted on Tue, 04 Aug 2026 16:53:23 +0000 by laurajohn89

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

Downloading Bing Homepage Images as Desktop Wallpaper with Python

Analyzing the Bing API Bing's homepage displays a different high-quality background image daily. The image data can be accessed through Bing's JSON API endpoint. The API URL follows this pattern: https://www.bing.com/HPImageArchive.aspx?format=js&n=1 The n parameter specifies the number of images to retrieve (maximum 7). The response conta ...

Posted on Tue, 21 Jul 2026 16:59:28 +0000 by figment

Text Processing and Web Scraping Fundamentals

File Manipulation and Text Processing Core Concepts Files serve as virtual storage units provided by operating systems to persist information. Text files include formats like .txt, .md, .py, .xml, and .ini that store character data, while multimedia files handle audio and video content. Basic File Operations in Python Locating Files In developm ...

Posted on Tue, 21 Jul 2026 16:42:24 +0000 by sir nitr0z

Optimizing Network Requests with AIOHTTP: Asynchronous HTTP for Python Applications

Optimizing Network Requests with AIOHTTP: Asynchronous HTTP for Python Applications AIOHTTP is a powerful asynchronous HTTP client/server library for Python that significantly improves network request efficiency compared to traditional synchronous approaches. This guide demonstrates how to implement asynchronous image downloads and optimize Py ...

Posted on Thu, 16 Jul 2026 17:08:00 +0000 by Magestic

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

Python Crawler for Downloading CSDN Personal Blog Content

This crawler fetches content from a CSDN personal blog (either the main page or a category) and saves each article as a text file. Ensure the target URL includes ?viewmode=contents to retrieev all entries. Basic Crawler The basic version extracts article links from a page and saves each article’s content: # -*- coding: utf-8 -*- import urllib2 ...

Posted on Wed, 15 Jul 2026 16:55:41 +0000 by Dilb

Automating Public Opinion Monitoring with Scheduled Tasks and WeChat Notifications

A public wager from 2015 resurfaced when a major technological milestone was achieved in 2022, seven years ahead of the predicted timeline. The original bet involved the launch of an aircarft carrier equipped with electromagnetic catapults. When the Fujian was launched with this specific technology, the original poster acknowledged the loss and ...

Posted on Mon, 06 Jul 2026 16:57:22 +0000 by qartis

Web Scraping with HTTP APIs: A Practical Guide to Data Extraction

While traditional web scraping often involves parsing HTML content, there's a more efficient approach: directly accessing data through HTTP APIs. Since most modern web services expose their data via RESTful APIs that typically use JSON format, this tutorial will explore how to extract data by making direct API calls. For those unfamiliar with R ...

Posted on Sat, 04 Jul 2026 17:49:05 +0000 by xdentan