Tag

user-agent

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Jul 27, 2024 · Backend Development

Using fake_useragent to Generate Random User-Agent Strings for API Automation Testing

This guide explains why random User-Agent headers improve API automation testing, introduces the Python fake_useragent library, shows how to install it, and provides comprehensive example code for generating, validating, and persisting random User-Agent strings.

Automation TestingHTTPRequests
0 likes · 5 min read
Using fake_useragent to Generate Random User-Agent Strings for API Automation Testing
Python Programming Learning Circle
Python Programming Learning Circle
Jul 14, 2021 · Backend Development

Bypassing Anti‑Scraping Mechanisms: User‑Agent Spoofing and IP Rate Limiting with Python

This article explains how to overcome common anti‑scraping defenses such as identity verification and IP rate limiting by spoofing the User‑Agent header and adding request delays, providing complete Python code examples using requests and BeautifulSoup to scrape Douban's Top 250 movies.

BeautifulSoupIP throttlingPython
0 likes · 6 min read
Bypassing Anti‑Scraping Mechanisms: User‑Agent Spoofing and IP Rate Limiting with Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2021 · Information Security

Multiple Anti‑Crawling Measures and Best Practices for Web Scraping

The article outlines several anti‑crawling techniques—including IP restrictions, User‑Agent validation, CAPTCHAs, AJAX loading, noscript tags, and cookie checks—while also offering practical advice for writing ethical, efficient, and robust web crawlers.

IP blockingWeb Securityanti-crawling
0 likes · 6 min read
Multiple Anti‑Crawling Measures and Best Practices for Web Scraping
Architecture Digest
Architecture Digest
Jan 18, 2021 · Information Security

Authentication Bypass Vulnerability in Nacos 1.4.1 (User‑Agent and Server Identity)

The article analyzes a bypass flaw in Nacos 1.4.1 where the serverIdentity key‑value authentication can be evaded by crafting URLs with a trailing slash, allowing attackers to list, create, and log in as users despite the intended security checks.

Authentication BypassNacosSecurity Vulnerability
0 likes · 8 min read
Authentication Bypass Vulnerability in Nacos 1.4.1 (User‑Agent and Server Identity)
Python Programming Learning Circle
Python Programming Learning Circle
Dec 8, 2020 · Backend Development

Browser Spoofing Techniques for Web Scraping: Principles and CSDN Example

This article explains why web servers block crawlers, how to identify a browser's User-Agent (using Chrome as an example), and demonstrates step‑by‑step how to disguise a scraper as a browser to retrieve the CSDN homepage and its article list.

backend-developmentbrowser-spoofingcrawling
0 likes · 3 min read
Browser Spoofing Techniques for Web Scraping: Principles and CSDN Example
Python Programming Learning Circle
Python Programming Learning Circle
Oct 19, 2019 · Backend Development

How to Bypass Anti‑Scraping Measures: User‑Agent, Cookies & Proxies

This guide explains practical techniques such as faking User‑Agent headers, rotating cookies, adding random delays, and using proxy pools to prevent IP bans while crawling large amounts of data from websites with anti‑scraping defenses.

Web Scrapinganti-scrapingcookies
0 likes · 4 min read
How to Bypass Anti‑Scraping Measures: User‑Agent, Cookies & Proxies
System Architect Go
System Architect Go
Jun 4, 2017 · Frontend Development

Understanding User Agent Parsing and Using the ua-device Library

This article explains how User Agent strings reveal operating system, CPU, browser and mobile device details, discusses the challenges of parsing mobile UA strings, introduces Baidu's open‑source ua-device library for accurate detection, and provides testing links for developers.

browser detectionfrontendmobile
0 likes · 4 min read
Understanding User Agent Parsing and Using the ua-device Library