Replies: 1 comment
|
Hi @niteshver, your general shape (API discovery, then seed list, then crawl) is the right one for GitHub. A few refinements: 1. Split the work: API/clone for raw data, Crawl4AI for rendered pagesThis is the biggest efficiency lever. If you want file contents (code, READMEs as raw markdown), don't crawl HTML at all. Where Crawl4AI earns its place is everything the API doesn't return (or returns poorly) because it only exists on the rendered page:
So the hybrid looks like: API for discovery + metadata, clone/raw for file co rendered pages and extracting profile/social data the API won't give you. Pair it with 2. Crawl the seed list with
|
Uh oh!
There was an error while loading. Please reload this page.
I'm working on a GitHub crawler and would like to know the recommended approach with Crawl4AI.
Current idea:
Is this the recommended architecture, or is there a better way to efficiently crawl GitHub repositories while avoiding duplicate or unnecessary pages?
All reactions