Skip to content

Commit

Permalink
fix: SearXNG not working #73
Browse files Browse the repository at this point in the history
  • Loading branch information
EINDEX committed Jul 24, 2024
1 parent 25a59be commit 727e091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/content/searchingEngines/searchingEngines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export class SearX extends SearchingEngine {
const searchUrlDom = document.getElementById('search_url');
if (searchUrlDom) {
const searchUrl = new URL(
searchUrlDom.getElementsByTagName('pre')[0].innerText,
searchUrlDom.getElementsByTagName('pre')[0].innerHTML,
);
return searchUrl.searchParams.get('q');
}
Expand Down

0 comments on commit 727e091

Please sign in to comment.