Skip to content
Namhyeon, Go edited this page Oct 8, 2024 · 17 revisions

WelsonJS for SERP(Search Engine Result Page)

As far as I know, the use case of SEO/SERP in the WelsonJS project is probably the most successful case in terms of securing funding. However, such clients often use keywords that, while legally permissible, raise moral concerns. Therefore, I cannot specify the exact nature of their business.

This project fully leaves such judgments to the users and does not engage in any way with the users' business activities.

This page provides guidance on the necessary procedures for those who wish to utilize SERP for their purposes.

The SERP methodology supported by this project

1. Use lib/chrome.js

This project can support SERP implementation in Chromium-based browsers using the Chrome DevTools Protocol. The test file (testloader.js) includes examples of such implementations.

2. Use lib/http.js with Packet Reconstruction (Packet Replay)

A SERP method that involves reconstructing and transmitting packets (which looks similar to a replay) after analysis using network analysis tools is often observed. For example, in situations where a large amount of data needs to be labeled, this method is commonly used to avoid a bot detection when automating searches, especially when there is a need to search for a lot of information through search engines.

This project already has many use cases of this type, and it has recently started experimental support for processing HAR (HTTP Archive) files to enable more efficient packet reconstruction.

3. Use lib/http.js with SERP Presets

This is a method of performing SERP using third-party services:

This is the easiest and safest option among those previously presented.

When implementing in code, it looks like the following:

var HTTP = require("lib/http");

var response = HTTP.create()
    .setVariables({
        "api_key": "YOUR_API_KEY"
    })
    .setProxy({
        "enabled": true,
        "provider": "YOUR_SERP_SERVICE",
        "type": "serp"
    })
    .open("GET", "https://example.org/?q=test")
    .send();

console.log("responseBody:", response.responseBody);

This example demonstrates how to set up an HTTP request with a SERP using an API key and a third-party service.

On the Use Cases of SERP

Based on my personal research into the use of the WelsonJS project as a SERP tool, I found that its usage is overwhelmingly high among e-commerce companies (including live commerce). However, this project was not specifically designed for the e-commerce sector.

Nonetheless, if you have any questions during your use, feel free to ask, and I will do my best to help you find the optimal solution. Thank you.

Report abuse