Open AndresNeisa opened 3 years ago
It looks like there are some unrelated changes in here, is that because of the base branch being behind dev?
Additionally, can you add some instructions for testing this feature?
@sina-jamshidi I wasn't sure how to reply to your previous comments, so I will answer your suggestions here:
The scraper.js file runs a script to fetch questions from leetcode, and store them into the database. The parameters of getQuestions allow the function to loop through a different range of questions, if a third parameter is sent with a value of true, the function will return the number of available questions in leetcode.
The html2markdown.js file converts the fetched HTML into markdown, which later on will be used to display the questions to the users, I wasn't so sure about the name of the file so any suggestions in that regard will be appreciated. This branch is based in another branch so I will wait to solve the merging conflicts until that branch gets merged.