From 42fbcc138352f0003aedc4fedb1bb7ce9491cc45 Mon Sep 17 00:00:00 2001 From: Alex Duchesne Date: Sat, 10 Aug 2024 16:52:02 -0400 Subject: [PATCH] Fixed EZTV plugin It requires a post parameter in order to get magnet links --- nova3/engines/eztv.py | 6 +++--- nova3/engines/versions.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nova3/engines/eztv.py b/nova3/engines/eztv.py index ea45d5d..7aa73b1 100644 --- a/nova3/engines/eztv.py +++ b/nova3/engines/eztv.py @@ -1,4 +1,4 @@ -#VERSION: 1.14 +#VERSION: 1.15 # AUTHORS: nindogo # CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) @@ -10,7 +10,7 @@ class eztv(object): name = "EZTV" - url = 'https://eztv.re' + url = 'https://eztvx.to/' supported_categories = {'all': 'all', 'tv': 'tv'} class MyHtmlParser(HTMLParser): @@ -61,7 +61,7 @@ def handle_endtag(self, tag): def search(self, what, cat='all'): query = self.url + '/search/' + what.replace('%20', '-') - eztv_html = retrieve_url(query) + eztv_html = retrieve_url(query, post_data=b"layout=def_wlinks") eztv_parser = self.MyHtmlParser(self.url) eztv_parser.feed(eztv_html) diff --git a/nova3/engines/versions.txt b/nova3/engines/versions.txt index 9bf4c79..97fd949 100644 --- a/nova3/engines/versions.txt +++ b/nova3/engines/versions.txt @@ -1,4 +1,4 @@ -eztv: 1.14 +eztv: 1.15 jackett: 4.0 limetorrents: 4.7 piratebay: 3.3