Skip to main content

4 posts tagged with "anti-bot"

View All Tags

· 6 min read
Satyam Tripathi

Avoid Detection with Puppeteer Stealth

Puppeteer is a powerful Node.js library that provides a high-level API for controlling browsers through the DevTools Protocol. It is commonly used for testing, web scraping, and automating repetitive browser tasks. However, Puppeteer's default settings can trigger bot detection systems, especially in headless mode.

· 9 min read
Satyam Tripathi

How to Make Playwright Scraping Undetectable

If your Playwright scraper has stopped working because of anti-bot systems used by websites, you’re not alone. This is a common issue in web scraping. As soon as you update your scraper to bypass the anti-bot measures, the companies behind these systems quickly upgrade their systems to detect and block your scraper again. It's a continuous arms race against anti-bot systems.

· 11 min read
Oleg Kulyk

Axios vs Fetch - A Comprehensive Comparison with Code Samples

In the ever-evolving landscape of web development, making HTTP requests is a fundamental task for many applications. Two popular tools for handling these requests in JavaScript are Axios and Fetch. As developers, choosing the right tool for the job can significantly impact the efficiency and maintainability of our code. This comprehensive comparison aims to shed light on the key differences between Axios and Fetch, helping you make an informed decision for your next project.

Axios, a promise-based HTTP client for both browser and Node.js environments, has gained popularity due to its intuitive API and robust feature set. On the other hand, Fetch, a more recent addition to web browsers, provides a powerful and flexible low-level API for making HTTP requests. While both serve the same primary purpose, their approaches to syntax, error handling, and data processing differ significantly.

In this article, we'll delve into the nuances of Axios and Fetch, exploring their syntax, ease of use, error handling mechanisms, and JSON processing capabilities. We'll provide code samples and detailed explanations to illustrate the strengths and weaknesses of each approach. By the end of this comparison, you'll have a clear understanding of when to use Axios or Fetch in your projects, based on factors such as project requirements, browser support needs, and personal or team preferences.

As we navigate through this comparison, it's important to note that while Axios offers more built-in features and a simpler API, making it easier for many developers to use, Fetch provides greater flexibility as a low-level API. This flexibility, however, often comes at the cost of additional setup for common tasks. Let's dive into the details and explore how these differences manifest in real-world coding scenarios.

· 7 min read
Satyam Tripathi

Open Source Web Scraping Libraries to Bypass Anti-Bot Systems

Approximately one in five websites targeted for scraping employ advanced anti-bot systems that can easily result in access being blocked. These systems, such as Cloudflare, DataDome, and PerimeterX, are designed to detect and block automated access, making it increasingly difficult for traditional scraping tools to function effectively.

To address these challenges, a variety of open-source libraries have emerged, each offering unique features and techniques to bypass these anti-bot mechanisms.