# webpage_fetch **Repository Path**: AnInJing/webpage_fetch ## Basic Information - **Project Name**: webpage_fetch - **Description**: 自动下载网页的skill - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-05-15 - **Last Updated**: 2026-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文章抓取与知识库 ## 说明 本项目抓取网页并使用形成本地知识库,使用`Obsidian`进行管理。 项目地址: ## 问题与解决 ### 执行 `git` 时可能的问题 `git_pull.bat` 批处理文件用于从远程仓库拉取最新的版本,执行时如果遇到以下问题: ```powershell git@gitcode.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` 这表明 git 无法使用 SSH 密钥进行身份验证,导致无法从远程仓库拉取代码,需要正确配置 SSH 密钥。 **解决方法如下:**(以下命令在 Windows Terminal 或 Powershell 中执行) 1. **检查是否存在 SSH 密钥**: - 打开 Git Bash 或命令提示符 - 执行命令:`dir ~/.ssh` - 查看是否存在 `id_rsa` 和 `id_rsa.pub` 文件 2. **生成新的 SSH 密钥**(如果不存在): - 执行命令:`ssh-keygen -t rsa -b 4096 -C "your_email@example.com"` - 按提示操作,设置密钥存储位置和密码 3. **将公钥添加到 GitCode 账户**: - 复制公钥内容:`cat ~/.ssh/id_rsa.pub` - 登录 GitCode 账户,进入 "设置" → "SSH 密钥" - 粘贴公钥内容并保存 4. **测试连接**: - 执行命令:`ssh -T git@gitcode.com` - 如果显示成功信息,则表示配置正确