@@ -0,0 +1,918 @@
+from bs4 import BeautifulSoup%0Afrom requests.auth import HTTPBasicAuth%0Aimport requests%0Aimport json%0A%0Adef parse_content():%0A    rs = requests.get('http://soundspectra.com/admin/', auth=HTTPBasicAuth('admin', 'h@ckm3'))%0A    html_data = rs.text%0A    %0A    soup = BeautifulSoup(html_data)%0A%0A    details = %7B'stream_details' : %5B%5D%7D%0A    details_list = %5B%5D%0A%0A    alt = 1%0A    key = None%0A%0A    for td in soup.find_all('td'):%0A    %0A        if alt:%0A            if td.get('width') and td.get('width') == '130':%0A                key = td.text%0A                alt = not alt%0A        elif not alt:%0A            if td.get('class') and td.get('class')%5B0%5D == 'streamdata':%0A                alt = not alt%0A                value = td.text%0A                d = %7Bkey.encode(%22utf-8%22) : value.encode(%22utf-8%22)%7D%0A                details_list.append(d)%0A%0A    details%5B'stream_details'%5D = details_list%0A    print details%0A%0Aif __name__ == '__main__':%0A    parse_content()

Adding the parser