#How to grab sublinks from a website in Node.js

4 messages · Page 1 of 1 (latest)

wise crow

im trying to make a discord bot that runs 24/7 that when using the slash command it goes to the link and grabs the sublinks on that page and returns the message on discord. Wondering if anyone would be willing to help.

cold beaconBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
wise crow

forgot to mention: i am currently using repl.it for coding because my laptop cant handle downloading node.js and discord.js, so i am unsure what versions of node.js and discord.js they use.

wise merlin

so you're just trying to scrape a website's HTML from Node?