Skip to content

Commit

Permalink
auctioned domains now link to web archive
Browse files Browse the repository at this point in the history
  • Loading branch information
chamik committed Oct 8, 2024
1 parent 36c24bd commit 3837ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tgbot.deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ async function domeny() {
x.sort((a,b)=>a.length - b.length);
while (x.length > 0) {
const chunk = x.splice(0, 50);
const webArchiveLinks = chunk.map(l => `[${l}](https://web.archive.org/web/*/${l})`);
await tgCall({
text: chunk.join("\n"),
text: webArchiveLinks.join("\n"),
}).then((x) => x.json());
}
}
Expand Down

0 comments on commit 3837ec1

Please sign in to comment.