Skip to content

Commit

Permalink
feat: update DDG filter template
Browse files Browse the repository at this point in the history
Closes #390
  • Loading branch information
quenhus committed Aug 6, 2023
1 parent 1f8b172 commit cea860b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def to_google(url):
return f'google.*###rso .MjjYud a[href*="{format_url(url)}"]:upward(.MjjYud)'

def to_duckduckgo(url):
return f'duckduckgo.com###links>div:has(a[href*="{format_url(url)}"])'
return f'duckduckgo.com##.react-results--main > li:has(a[href*="{format_url(url)}"])'

def to_brave(url):
return f'search.brave.com###results > div:has(a[href*="{format_url(url)}"])'
Expand Down

0 comments on commit cea860b

Please sign in to comment.