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

Commit 5f450fda authored by Adam Tauber's avatar Adam Tauber
Browse files

[enh] add year filter to duckduckgo

parent fd737dc9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -39,7 +39,8 @@ url = 'https://html.duckduckgo.com/html'
url_ping = 'https://duckduckgo.com/t/sl_h'
time_range_dict = {'day': 'd',
                   'week': 'w',
                   'month': 'm'}
                   'month': 'm',
                   'year': 'y'}

# specific xpath variables
result_xpath = '//div[@class="result results_links results_links_deep web-result "]'  # noqa