返回 Skill 列表
extension
分类: 数据与分析无需 API Key

在爬取或排队之前标准化和过滤噪声URL列表

使用 Courlan 在爬虫、抓取器或分析器队列处理原始URL库存之前,对其进行清理、标准化、去跟踪和语言过滤。当代理已经拥有过多的候选链接并需要更小、更干净的边界时效果最佳,而不是完整的爬取堆栈。

person作者: user_3c6cb52ehubcommunity

在爬取或排队之前标准化和过滤噪声URL列表

Uses Courlan to clean, normalize, de-track, and language-filter raw URL inventories before a crawler, scraper, or analyst queue touches them. Best when an agent already has too many candidate links and needs a smaller, cleaner frontier, not a full crawling stack.

Prerequisites

Python 3, pip, command line

Installation

Use the upstream install or setup path that matches your environment:

  • $ pip install courlan # pip3 install on systems where both Python 2 and 3 are installed
  • $ pip install --upgrade courlan # to make sure you have the latest version
  • $ pip install git+https://github.com/1991513ccie-png/skills # latest available code (see build status above)

Requirements and caveats from upstream:

  • Python package
  • Python versions
  • Usable with Python or on the command-line

Basic usage or getting-started notes:

  • is tested on Linux, macOS and Windows systems.

  • Courlan is available on the package repository PyPI

  • bash

  • Source: https://github.com/1991513ccie-png/skills

  • Extracted from upstream docs: https://raw.githubusercontent.com/adbar/courlan/HEAD/README.md

Documentation

  • https://adrien.barbaresi.eu/blog/easy-content-aware-url-filtering.html