Skip to content

Commit

Permalink
Fixed EZTV plugin
Browse files Browse the repository at this point in the history
It requires a post parameter in order to get magnet links
  • Loading branch information
ducalex committed Aug 10, 2024
1 parent 286b510 commit 42fbcc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nova3/engines/eztv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#VERSION: 1.14
#VERSION: 1.15
# AUTHORS: nindogo
# CONTRIBUTORS: Diego de las Heras ([email protected])

Expand All @@ -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):
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion nova3/engines/versions.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eztv: 1.14
eztv: 1.15
jackett: 4.0
limetorrents: 4.7
piratebay: 3.3
Expand Down

0 comments on commit 42fbcc1

Please sign in to comment.