Update http.js

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

View File

@ -499,7 +499,7 @@ var HTTPObject = function(engine) {
this.parseSerpUrl = function(url) {
var getEngine = function(url) {
var match = url.match(/(?:https?:\/\/)?(?:www\.)?(google|youtube|bing|baidu|amazon)\.\w+/), result;
var match = url.match(/(?:https?:\/\/)?(?:www\.)?(google|youtube|bing|baidu|youtube|amazon)\.\w+/), result;
if (match) {
result = match[1];
} else {