Skip to content
This repository was archived by the owner on Jun 6, 2026. It is now read-only.

Commit d8b484e

Browse files
committed
Fix broken reddit wiki links in scripts
1 parent 8770f79 commit d8b484e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/scripts/cores.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const request = require('request-promise-native');
2323
// Update status of each core from the subreddit core tracking page
2424
// Parses two tables: One for active cores, and one for the status unknown cores, may
2525
// add support for the inactive and lost cores at some point
26-
const result = await request('https://www.reddit.com/r/spacex/wiki/cores');
26+
const result = await request('https://old.reddit.com/r/spacex/wiki/cores');
2727
const $ = cheerio.load(result);
2828

2929
const active = $('div.md:nth-child(2) > table:nth-child(14) > tbody:nth-child(2)').text();

src/scripts/upcoming.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const monthVague = /^[0-9]{4}\s(early|mid|late)\s([a-z]{3}|[a-z]{3,9})$/i;
7070
});
7171

7272
// Grab subreddit wiki manifest
73-
const result = await request('https://www.reddit.com/r/spacex/wiki/launches/manifest');
73+
const result = await request('https://old.reddit.com/r/spacex/wiki/launches/manifest');
7474
const $ = cheerio.load(result);
7575

7676
// Gives us all manifest table rows in a single array

0 commit comments

Comments
 (0)