Skip to content

API gone I think #17

Description

@TheWolph

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions