Closed ribhav99 closed 4 years ago
Testing this now
It looks broken to me. here is what I am getting:
i functions: Beginning execution of "scrapeBBB"
[]
for the logs in the emulation
and
[]
for the html in http://localhost:5001/dreamtune-cdf8a/us-central1/scrapeBBB
Tried it again still broken. Am trying to fix it. Message me before making changes to the file
Fixed BBB scraper. But execution time is too long. Will need to make this a dedicated. run (once every x hours) and save results to local server to cut down latency
Nope it's not working correctly. That's not the output we want.
I'm editing it rn to make the output fine and remove redundancies.
I'll fix it in a couple hours. Working on 343 rn
works perfectly.
The html elements might change so if that happens we only need to change the scrapeBBBjs variable that's passed into cheerio $('.
I have refactored the whole of the file to use promises instead. Iterated over it a bunch and now I'm not sure if there is no output because there is a bug or because of my internet speed. So gotta hop on a call with one of you to test this out.