Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b8b23d80 authored by rinpatch's avatar rinpatch
Browse files

Hopefully fix code style errors(again)

parent fb364ffa
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -28,11 +28,13 @@ xpath_title = './/td[3]/a[last()]'
xpath_torrent_links = './/td[3]/a'
xpath_filesize = './/td[4]/text()'


def request(query, params):
    query = urlencode({'keyword': query})
    params['url'] = search_url.format(query=query, offset=params['pageno'])
    return params


def response(resp):
    results = [] 
    dom = html.fromstring(resp.text)