'Make json file from html table

Here is an Html table in this website http://people.dbmi.columbia.edu/~friedma/Projects/DiseaseSymptomKB/

There is a column named "Disease Name" and the following column named "Symptoms". I want JSON formatted data from that table of that website like this manner and also remove the "UMLS:C00080" thing from the strings.

data = {
   {
    disease_name:'name',
    symptoms: [symptoms ]
   }
}

Is there any way to do it with python?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source