def parse(self, root):
    'Parsing the xml file'
    if (root['total_records'] == 0):
        return False
    return root['articles']
Parsing the xml file
def parse(self, root):
    
    if (root['total_records'] == 0):
        return False
    return root['articles']