def _prepare_chapters(self, chapters):
    n = self.http().normalize_uri
    items = []
    if (chapters and len(chapters)):
        for i in chapters:
            url = self.__normalize_chapters(n, i)
            items.append(url)
    else:
        warning(('Chapters list empty. Check %s' % self.get_url()))
    return items
def _prepare_chapters(self, chapters):
    n = self.http().normalize_uri
    items = []
    if (chapters and len(chapters)):
        for i in chapters:
            url = self.__normalize_chapters(n, i)
            items.append(url)
    else:
        warning(('Chapters list empty. Check %s' % self.get_url()))
    return items