mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-19 03:09:14 +08:00
12 lines
256 B
TypeScript
12 lines
256 B
TypeScript
import { sources } from "../shared/sources"
|
|
import { delay } from "../shared/utils"
|
|
|
|
async function main() {
|
|
for (const id of Object.keys(sources)) {
|
|
await delay(100)
|
|
fetch(`https://newsnow.busiyi/api/s/${id}`)
|
|
}
|
|
}
|
|
|
|
main().catch(console.error)
|