Skip to main content

MCP Aim Crawler

这是一个基于MCP协议的网站爬虫项目。

项目结构

mcp_aim_crawler/
├── tests/                # 测试用例目录
└── mcp_aim_crawler/     # 主要源代码目录
    ├── crawler.py       # 爬虫核心逻辑
    └── logger.py        # 日志配置

环境要求

  • Python 3.12.9
  • Poetry
  • pyenv

安装方法

  1. 使用pyenv安装Python 3.12.9:
pyenv install 3.12.9
pyenv local 3.12.9
  1. 安装项目依赖:
poetry install

运行方法

poetry run python -m mcp_aim_crawler

环境变量

在项目根目录创建 .env 文件,包含以下配置:

  • WEBSITE_URL: 目标网站URL
  • USERNAME: 登录用户名
  • PASSWORD: 登录密码
  • MCP_TOKEN: MCP令牌

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_aim_crawler-0.1.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_aim_crawler-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_aim_crawler-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_aim_crawler-0.1.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_aim_crawler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ddddb2445a492ef8de7a4c2a23fb979525dbeef0f9e63a54f65fbfcb8c0950ef
MD5 8a596b2b114797dd0ff95d2b44f40f59
BLAKE2b-256 d00903c9571c1f6a1158856f17c335bd04cd4e9ae685a15cdbb6a54366e52bb9

See more details on using hashes here.

File details

Details for the file mcp_aim_crawler-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_aim_crawler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96e5c8fd684c9b160e988e4ab5f8c903813c51aa1ef6b5e09b980951b67189d1
MD5 131f11c84b6e4fb97674e899f936cad0
BLAKE2b-256 ed2dde799a235757f393fa7f0ff2139d2e302b60160b49b88652d3bc948ba012

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page