Update http.js

This commit is contained in:
Namhyeon Go 2024-09-28 16:24:24 +09:00 committed by GitHub
parent bd51f1d8e1
commit 7e3a6bdf45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -509,7 +509,7 @@ var HTTPObject = function(engine) {
};
var getKeyword = function(url) {
var regex = /[?&](q|wd|query|k)=([^&]*)/g;
var regex = /[?&](q|wd|query|search_query|k)=([^&]*)/g;
var match, keywords = [];
while ((match = regex.exec(url)) !== null) {
keywords.push(match[2]);