Skip to content

Commit 9102f1d

Browse files
committed
chore: update AGENTS.md, README.md
1 parent fee10d5 commit 9102f1d

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🀀 4Charm - 4chan Media Downloader Agent
1+
# 🍀 4Charm - 4chan Media Downloader Agent
22

33
> Level 2 Document: Refer to /Users/home/Workspace/Apps/AGENTS.md (Level 1) for global SSOT standards.
44
@@ -69,14 +69,18 @@ from requests.exceptions import HTTPError
6969

7070

7171
class FourChanScraper:
72-
"""All API interactions MUST implement rate limiting."""
72+
73+
```
74+
"""All API interactions MUST implement rate limiting."""
75+
76+
```text
7377
7478
RATE_LIMIT_DELAY = 1.0 # Minimum 1 second between requests
7579
7680
def fetch_thread(self, board: str, thread_id: int):
7781
try:
7882
response = requests.get(
79-
f"https://a.4cdn.org/{board}/thread/{thread_id}.json",
83+
f"<https://a.4cdn.org/{board}/thread/{thread_id}.json",>
8084
timeout=10,
8185
)
8286
response.raise_for_status()
@@ -95,8 +99,8 @@ class FourChanScraper:
9599
**Limits:**
96100

97101
- **Global:** 1 request/second to 4chan API
98-
- **Thread Fetching:** Use CDN URLs (`https://a.4cdn.org/`)
99-
- **Media Downloads:** Use media CDN (`https://i.4cdn.org/`)
102+
- **Thread Fetching:** Use CDN URLs (`<https://a.4cdn.org/>`)
103+
- **Media Downloads:** Use media CDN (`<https://i.4cdn.org/>`)
100104

101105
### 3. Download Queue Architecture (BaseWorker Required)
102106

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This project uses `.razorcore` for build tooling.
7474
### Setup
7575

7676
```bash
77-
git clone <<https://github.com/RazorBackRoar/4Charm.git>>
77+
git clone <<<https://github.com/RazorBackRoar/4Charm.git>>>
7878
cd 4Charm
7979
uv venv --python 3.13
8080
uv sync

0 commit comments

Comments
 (0)