Ditectrev / Automation-Tools-for-Courses

2 stars 3 forks source link

Improve scraping data format #5

Open danieldanielecki opened 4 months ago

danieldanielecki commented 4 months ago

Both currently working scriptsweb-scrap-exam4training.py and web-scrap-vce.py return lots of data, which is different from the format we use, and for now we need to remove & format it manually.

Ideally, after scrapping we're receiving this format:

 ### QUESTION

 ![Image X](images/questionX.png) # could be the case there's no image in the question as well.

 - [ ] SAMPLE WRONG ANSWER.
 - [ ] SAMPLE WRONG ANSWER.
 - [x] SAMPLE CORRECT ANSWER.
 - [ ] SAMPLE WRONG ANSWER.

 **[⬆ Back to Top](#table-of-contents)**

even better would be to include already explanation using some kind of AI-related tool (see https://github.com/Ditectrev/Automation-Tools-for-Courses/issues/4 for that):

 ### QUESTION

  ![Image X](images/questionX.png) # could be the case there's no image in the question as well.

 - [ ] SAMPLE WRONG ANSWER.
 - [ ] SAMPLE WRONG ANSWER.
 - [x] SAMPLE CORRECT ANSWER.
 - [ ] SAMPLE WRONG ANSWER.

 #### EXPLANATION.

 **[⬆ Back to Top](#table-of-contents)**