API-EZTV.it icon indicating copy to clipboard operation
API-EZTV.it copied to clipboard

API gone I think

Open TheWolph opened this issue 9 years ago • 0 comments

This hasn't been working for a while.

        data = {
            'SearchString': '',
            'SearchString1': name,
            'search': 'search'
        }

        req = requests.post(URL + "/search/", data=data, timeout=5)
        self.content = requests.get(req.url, timeout=5).content

It just returns the home page results. This fixes it:

        #data = {
        #    'SearchString': '',
        #    'SearchString1': name,
        #    'search': 'search'
        #}

        #req = requests.post(URL + "/search/", data=data, timeout=5)
        self.content = requests.get(URL + "/search/" + name, timeout=5).content

TheWolph avatar Aug 10 '16 05:08 TheWolph