]> git.llucax.com Git - software/subdivxget.git/blobdiff - subdivxget
Remove unused class Subtitle
[software/subdivxget.git] / subdivxget
index 5c5cc7a49cfab50003860880a380ff6737f67fdd..aaa3d4468c042e72ed17910b50cd16b9f7d54df7 100755 (executable)
@@ -29,8 +29,6 @@ class SubDivXQuery:
        def down_uri(self):
                return 'http://' + self.host + self.down_page
 
-class Subtitle:
-       pass
 
 class SubDivXHTMLParser(HTMLParser.HTMLParser):
 
@@ -48,7 +46,6 @@ class SubDivXHTMLParser(HTMLParser.HTMLParser):
        def handle_starttag(self, tag, attrs):
                attrs = dict(attrs)
                if tag == 'div' and attrs.get('id') == 'menu_detalle_buscador':
-                       #self.cur = Subtitle()
                        self.cur = dict()
                        self.subs.append(self.cur)
                        self.parsing = True
@@ -79,8 +76,6 @@ class SubDivXHTMLParser(HTMLParser.HTMLParser):
                        if self.attr is not None and data:
                                self.cur[self.attr] = data
                                self.attr = None
-                               #self.cur[self.attr] = self.cur.get(self.attr, '') + data.strip()
-                               #setattr(self.cur, self.attr, data.strip())
                        elif data in ('Downloads:', 'Cds:', 'Comentarios:',
                                        'Formato:'):
                                self.attr = data[:-1].lower()