- commit
- 5c31126
- parent
- 8a9a063
- author
- Eric Bower
- date
- 2023-04-17 17:52:15 +0000 UTC
chore: limit config scrape to 25 per topic
1 files changed,
+1,
-1
+1,
-1
1@@ -197,7 +197,7 @@ type TopicRepo = RepoData & { full_name: string; topics: string[] };
2
3 export async function fetchTopics(topic: string, token: string) {
4 const items: TopicRepo[] = [];
5- let next = `/search/repositories?q=${topic}&per_page=100`;
6+ let next = `/search/repositories?q=${topic}&per_page=25`;
7 // limit the number of pages
8 // let count = 0;
9