Extracting Hyperlinks from HTML in C# via Regex and Parsers

While dedicated DOM parsers are the standard recommendation for processing markup languages, there are specific scenarios where developers might consider using regular expressions within C# applications. HTML is inherently hierarchical and nested, whereas regular expressions operate on linear text patterns. This mismatch means regex is often fr ...

Posted on Wed, 05 Aug 2026 16:53:20 +0000 by jpschwartz

Data Serialization and Storage Formats in Python

Data Serialization Fundamentals Auotmated data collection systems rely heavily on standardized interchange formats to move information between network requests, local caches, and persistent storage layers. Two widely adopted approaches for structuring extracted payloads are JavaScript Object Notation (JSON) and Comma-Separated Values (CSV). JSO ...

Posted on Tue, 04 Aug 2026 16:52:48 +0000 by solar_ninja

Automating Job Data Extraction from Boss Zhipin Using Selenium

Modern job boards like Boss Zhipin rely heavily on client-side JavaScript rendering and obfuscated API endpoints—often with time-sensitive tokens, signature headers, or encrypted query parameters. Reverse-engineering such interfaces demands deep inspection of network traffic, JS bundle analysis, and frequent maintenance as frontend logic evolve ...

Posted on Mon, 27 Jul 2026 16:31:46 +0000 by fazzfarrell

Scraping Taobao Product Data with Selenium: Anti-Detection Techniques and Implementation

Taobao employs sophisticated anti-bot mechanisms that present significant challenges even for browser automation tools. While functional, the approach outlined here is more educational than practical for large-scale extraction. Prerequisites Google Chrome browser ChromeDriver matching your Chrome version Python 3.x Selenium library (pip instal ...

Posted on Tue, 21 Jul 2026 17:13:54 +0000 by Marijnn

Distributed Web Crawling with Scrapy-Redis

Understanding Distributed Scrapy LimitationsStandard Scrapy lacks native distributed capabilities for two primary reasons:Each Scrapy instance operates with its own scheduler, preventing URL distribution across multiple machines (no shared scheduler)Crawled data cannot be processed through a unified pipeline for centralized storage (no shared p ...

Posted on Sat, 04 Jul 2026 17:51:41 +0000 by Jorge

Automating Form Submission in Python for Web Crawling Challenges

The challenge requires submitting a form with a username and password (a number under 30) to http://www.heibanke.com/lesson/crawler_ex01/. Here are four implementation approaches: Method 1: Using urllib import urllib import re import sys sys.setdefaultencoding('utf-8') form_data = {'username': 'test_user'} target_url = 'http://www.heibanke.com ...

Posted on Tue, 23 Jun 2026 16:20:41 +0000 by broseph

Web Scraping with XPath: Extracting News Headlines from 36Kr

Having previously explored the powerful BeautifulSoup library for HTML parsing and techniques for capturing HTTP requests through on line tools, we now turn our attention to another fundamental web scraping approach: XPath. XPath serves as a query language designed to navigate and select specific portions of XML documents. While originally deve ...

Posted on Fri, 12 Jun 2026 18:32:30 +0000 by 9mm

Essential Web Scraping Techniques using Urllib and Requests in Python

Utilizing the urllib Module for Web Requests The urllib library is a built-in Python module used for handling URLs. It provides several ways to fetch data from the web, ranging from simple function calls to complex custom handlers. Basic Web Access and Custom Openers The simplest way to retrieve a webpage is using urlopen. For more advanced con ...

Posted on Tue, 26 May 2026 16:22:22 +0000 by andybrooke

Information Technology Terminology Analysis and Visualization System

Core Functionality The system automates the collection, processing, and presentation of trending IT terminology through multiple analytical stages. Data Harvesting Module Content is systematically extracted from technical news sources using HTTP protocols. The collcetion mechenism targets blog.cnblogs.com for initial dataset generation. import ...

Posted on Tue, 19 May 2026 15:11:58 +0000 by cabaz777

Integrating Selenium with Scrapy for Dynamic Content Extraction

Dynamic Data Handling in Scrapy with Selenium IntegrationWhen scraping websites with the Scrapy framework, you often encounter pages where content is dynamically loaded through JavaScript. Direct HTTP requests made by Scrapy to these URLs will not retrieve the dynamically generated data. However, browsers successfully render and display this co ...

Posted on Sat, 16 May 2026 15:50:31 +0000 by jediman