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

Commit b647244a authored by asciimoo's avatar asciimoo
Browse files

[fix] function parameters

parent 72793725
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -92,7 +92,8 @@ def response(resp):
            results.append({'url': url, 'title': title, 'content': content})
    else:
        for url, title, content in zip(
            map(extract_url, dom.xpath(url_xpath)),
            (extract_url(x, search_url) for
             x in dom.xpath(url_xpath)),
            map(extract_text, dom.xpath(title_xpath)),
            map(extract_text, dom.xpath(content_xpath))
        ):