def peliculas_infantiles(item): logger.info("pelisalacarta.channels.novedades peliculas_infantiles") itemlist = [] import zpeliculas item.url = "http://www.zpeliculas.com/peliculas/p-animacion/" itemlist.extend( zpeliculas.peliculas(item) ) import cinetux item.url = "http://www.cinetux.org/genero/infantil" itemlist.extend( cinetux.peliculas(item) ) import gnula item.url = "http://gnula.nu/generos/lista-de-peliculas-del-genero-infantil/" itemlist.extend( gnula.peliculas(item)[:20] ) import oranline item.url = "http://www.oranline.com/Películas/infantil/" itemlist.extend( oranline.peliculas(item) ) sorted_itemlist = [] for item in itemlist: if item.extra!="next_page" and not item.title.startswith(">>"): item.title = item.title + " ["+item.channel+"]" sorted_itemlist.append(item) sorted_itemlist = sorted(sorted_itemlist, key=lambda Item: Item.title) return sorted_itemlist
def peliculas_infantiles(item): logger.info("pelisalacarta.channels.novedades peliculas_infantiles") itemlist = [] import zpeliculas item.url = "http://www.zpeliculas.com/peliculas/p-animacion/" itemlist.extend(zpeliculas.peliculas(item)) import cinetux item.url = "http://www.cinetux.org/genero/infantil" itemlist.extend(cinetux.peliculas(item)) import yaske item.url = "http://www.yaske.cc/es/peliculas/custom/?gender=animation" itemlist.extend(yaske.peliculas(item)) import oranline item.url = "http://www.oranline.com/Películas/infantil/" itemlist.extend(oranline.peliculas(item)) sorted_itemlist = [] for item in itemlist: if item.extra != "next_page" and not item.title.startswith(">>"): item.title = item.title + " [" + item.channel + "]" sorted_itemlist.append(item) sorted_itemlist = sorted(sorted_itemlist, key=lambda Item: Item.title) return sorted_itemlist
def documentales(item): logger.info("pelisalacarta.channels.novedades documentales") itemlist = [] import documaniatv item.url = "http://www.documaniatv.com/newvideos.html" itemlist.extend( documaniatv.novedades(item) ) import oranline item.url = "http://oranline.com/Pel%C3%ADculas/documentales/" itemlist.extend( oranline.peliculas(item) ) sorted_itemlist = [] for item in itemlist: if item.extra!="next_page" and not item.title.startswith(">>"): item.title = item.title + " ["+item.channel+"]" sorted_itemlist.append(item) sorted_itemlist = sorted(sorted_itemlist, key=lambda Item: Item.title) return sorted_itemlist
def documentales(item): logger.info("pelisalacarta.channels.novedades documentales") itemlist = [] import documaniatv item.url = "http://www.documaniatv.com/newvideos.html" itemlist.extend(documaniatv.novedades(item)) import oranline item.url = "http://oranline.com/Pel%C3%ADculas/documentales/" itemlist.extend(oranline.peliculas(item)) sorted_itemlist = [] for item in itemlist: if item.extra != "next_page" and not item.title.startswith(">>"): item.title = item.title + " [" + item.channel + "]" sorted_itemlist.append(item) sorted_itemlist = sorted(sorted_itemlist, key=lambda Item: Item.title) return sorted_itemlist