diff --git a/channels/metalvideo.py b/channels/metalvideo.py index 4623a086..1a7a960f 100644 --- a/channels/metalvideo.py +++ b/channels/metalvideo.py @@ -9,37 +9,33 @@ host = 'https://metalvideo.com' headers = {'X-Requested-With': 'XMLHttpRequest'} -@support.scrape +@support.menu def mainlist(item): + menu = [('Generi',['', 'genres']), + ('Ultimi Video',['/videos/latest', 'peliculas']), + ('Top Video',['/videos/top', 'peliculas']), + ('Cerca...',['','search',])] + return locals() + + +@support.scrape +def genres(item): item.url = host action = 'peliculas' - patronBlock = r'