Skip to content

Commit

Permalink
Merge pull request #661 from shelld3v/patch-45
Browse files Browse the repository at this point in the history
Exclude www from DuckDuckGo search result
  • Loading branch information
caffix committed Aug 9, 2021
2 parents 0c34592 + 5f73632 commit 0d1d173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/scripts/scrape/duckduckgo.ads
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function start()
end

function vertical(ctx, domain)
local vurl = "https://html.duckduckgo.com/html/?q=site:" .. domain
local vurl = "https://html.duckduckgo.com/html/?q=site:" .. domain .. " -site:www." .. domain

scrape(ctx, {['url']=vurl})
end

0 comments on commit 0d1d173

Please sign in to comment.