Got it to work! Thanks for the PR @sdetweil and the example webscraping code @cowboysdude
Best posts made by enderflop
-
RE: Help developing first module, displaying webscraped text.
Latest posts made by enderflop
-
RE: Help developing first module, displaying webscraped text.
Got it to work! Thanks for the PR @sdetweil and the example webscraping code @cowboysdude
-
RE: Help developing first module, displaying webscraped text.
@sdetweil Hey, sorry for the late response. I accidentally took the screenshot of mmpm but the same error was coming up with dining-hall lol that’s a mistake. I’ll take a look at the PR and see how it goes, thanks!
-
Help developing first module, displaying webscraped text.
Sorry in advance for my code, I know extremely little Javascript but I like to think I’m pretty decent at Python. I’ve made a functioning webscraper in Python, transfered it to Javascript, but now I’m running into errors implementing it into a module and displaying it on my mirror.
The code for it is here on my github.
Only the dining-hall folder is in my modules folder and I’ve npm installed both dependencies (axios and cheerio). My config file has no syntax errors and I think it is set up correctly.
I’m currently running into the error in the following screenshot when trying to get the module to display.
The errors continue on for a while.
I have no idea where to start debugging. Please tear apart my code, call me an idiot or whatever, I’m just looking to get this solved and learn something along the way. Thanks for your help! I’ll be around to respond and give any additional materials that might help. By the end I would like to not only have the module displaying, but also displaying the correct information. I might need some help with notification and payload transfer lol. Thanks for everything!