File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
7171class 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
Original file line number Diff line number Diff 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> >>
7878cd 4Charm
7979uv venv --python 3.13
8080uv sync
You can’t perform that action at this time.
0 commit comments