Skip to content

Commit b8a6f9a

Browse files
authored
1 parent b429e33 commit b8a6f9a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
// [BWM-XMD QUANTUM EDITION]
23
// >> A superposition of elegant code states
34
// >> Collapsed into optimal execution
@@ -8,12 +9,12 @@ const axios = require('axios');
89
const cheerio = require('cheerio');
910
const adams = require("./config");
1011

11-
async function fetchHOMEUrl() {
12+
async function fetchINDEXUrl() {
1213
try {
1314
const response = await axios.get(adams.BWM_XMD);
1415
const $ = cheerio.load(response.data);
1516

16-
const targetElement = $('a:contains("HOME")');
17+
const targetElement = $('a:contains("INDEX")');
1718
const targetUrl = targetElement.attr('href');
1819

1920
if (!targetUrl) {
@@ -30,4 +31,4 @@ async function fetchHOMEUrl() {
3031
}
3132
}
3233

33-
fetchHOMEUrl();
34+
fetchINDEXUrl();

0 commit comments

Comments
 (0)