Tagged articles
7 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Dec 28, 2024 · Backend Development

Getting Started with requests-html: Installation, Basic Usage, Advanced Features, and Web Scraping Examples

This article introduces the Python requests-html library, covering its installation, basic operations such as fetching pages, extracting links and elements, advanced capabilities like JavaScript rendering, pagination, custom requests, and provides practical web‑scraping examples for sites like Jianshu and Tianya.

automationhtml-parsingrequests-html
0 likes · 16 min read
Getting Started with requests-html: Installation, Basic Usage, Advanced Features, and Web Scraping Examples
Python Crawling & Data Mining
Python Crawling & Data Mining
Feb 2, 2022 · Backend Development

Bypass SVG Anti‑Scraping and Extract Data with Selenium and requests‑html

This article explains how to scrape data protected by SVG background‑image anti‑scraping by using Selenium to retrieve the SVG URL, parsing the SVG with requests‑html to map background offsets to characters, replacing SVG nodes with text, and finally extracting structured information such as phone numbers and reviews.

Data ExtractionSVGSelenium
0 likes · 11 min read
Bypass SVG Anti‑Scraping and Extract Data with Selenium and requests‑html
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2021 · Backend Development

Getting Started with requests-html: Installation, Basic Usage, and Advanced Features

This article introduces the Python requests-html library, covering its installation, basic operations such as fetching pages, extracting links and elements with CSS and XPath selectors, advanced capabilities like JavaScript rendering, pagination handling, custom request options, and practical web‑scraping examples.

JavaScript renderingPythonrequests-html
0 likes · 16 min read
Getting Started with requests-html: Installation, Basic Usage, and Advanced Features