Skip to content
Namhyeon, Go edited this page Oct 19, 2024 · 27 revisions

WelsonJS for SERP(Search Engine Result Page)

As far as I know, the use of SERP in the WelsonJS project is probably the most successful case in terms of securing funding. However, since I am not involved in their business in any way, I cannot specify the exact nature of their business activities.

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

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

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",   // e.g., librey, invidious
        "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.

4. Feedback (e.g., ROI, Customer Conversion) API Integration

Although advertising platforms support different advertising methods, they all provide APIs that allow you to receive feedback (e.g., ROI, customer conversion) to measure the effectiveness of these ads. This is typically implemented using REST APIs. In WelsonJS, this can be implemented using lib/http.js.

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.

Related links