template bg

Go Packages Search Scraper

Go Packages Search Scraper is a BrowserAct Bot template for collecting structured public package records from pkg.go.dev.

Published by
Br
BrowserAct Team
August 21, 2026
Approx.Credits
40-50 Credits
Categories
BA
Go Packages
Template ID
113868372365568423

Brief

Go Packages Search Scraper is a BrowserAct Bot template for collecting structured public package records from pkg.go.dev. Configure a base URL, keyword, and result count, then run the Bot to return ranked Go package metadata for developer research, dependency discovery, ecosystem monitoring, catalog enrichment, or automation workflows.

What Does BrowserAct Go Packages Search Scraper Do?

This template opens the public Go Packages search page, reads server-rendered search result cards, and returns one structured record per package.

Key Features

  • Extract public pkg.go.dev search results without requiring a login.
  • Capture package name, import path, package URL, synopsis, module, version, license, imported-by count, published date, and keyword.
  • Configure base URL, keyword, and count.
  • Use the public limit parameter to return the requested number of records when available.
  • Handle no-match searches cleanly.

What Data Can I Extract from Go Packages?

Field Description
rank Search result position assigned by the Bot.
package_name Package display name.
import_path Go import path.
package_url Public pkg.go.dev package page URL.
synopsis Package synopsis or description from the search card.
module_path Module path when visible.
version Version shown on the search card.
license License shown on the search card.
imported_by Imported-by count shown on the search card.
repository_url Repository URL when visible.
published_date Published or updated date shown on the search card.
search_keyword Keyword used for the run.

How to Use Go Packages Search Scraper

  1. Click Run task.
  2. Enter the Go Packages base URL.
  3. Enter a package, framework, protocol, or symbol keyword.
  4. Set how many package records to collect.
  5. Run the Bot and review the structured package results.
  6. Reuse the Bot with another keyword or connect the output to your workflow.

Input Parameters

Parameter Required Default Description
base_url Yes https://pkg.go.dev Go Packages site base URL without a trailing slash.
keyword Yes http Search keyword used to find public packages.
count Yes 20 Maximum number of package records to collect.

Example Output

{
  "results": [
    {
      "rank": 1,
      "package_name": "http",
      "import_path": "net/http",
      "package_url": "https://pkg.go.dev/net/http",
      "synopsis": "Package http provides HTTP client and server implementations.",
      "module_path": "std",
      "version": "go1.27.0",
      "license": "BSD-3-Clause",
      "imported_by": "1776917",
      "repository_url": "",
      "published_date": "today",
      "search_keyword": "http"
    }
  ]
}

How Does it Work?

How Go Packages Search Scraper runs

BrowserAct builds the public Go Packages search URL in the format {base_url}/search?q={keyword}&limit={count}. The page returns server-rendered SearchSnippet result cards, so the Bot reads visible package cards directly from the listing page.

For each package card, BrowserAct maps the visible fields into a flat record, derives the package URL from the result link, converts the result rank to a 1-based position, and keeps optional fields empty when the search card does not display them.

How to Build a New Scraper Bot with Agent Built

Step 1: Describe the Data You Need

Open BrowserAct and start Agent Built from the Home prompt box or from Create -> Build with Agent. Paste a clear request that includes the website, the records to collect, the filters or search conditions, the fields to return, the result limit, and the inputs you want to reuse later.

Agent Built prompt templates

Step 2: Let BrowserAct Build and Test the Bot

BrowserAct explores the live website, works out the navigation and extraction path, and validates the result. If BrowserAct asks for clarification, reply in the same build conversation with the missing URL, condition, field, example, or expected output.

Agent Built exploration

Step 3: Run the Bot and Review the Result

When the build is complete, run the Bot with the default inputs first. Review the structured records, source URLs, missing fields, and row count before reusing the Bot with new inputs or connecting it to another workflow.

Agent Built run inputs

Agent Built run results

Why Scrape Go Package Results?

Go package data helps teams discover dependencies, compare library adoption, monitor package ecosystems, enrich internal developer catalogs, and route package metadata into engineering dashboards, alerts, or agent workflows.

Who Can Use This Template?

  • Go developers researching packages and alternatives.
  • Platform teams building dependency catalogs.
  • DevRel teams monitoring ecosystem adoption.
  • Security and engineering teams reviewing popular packages.
  • Automation builders routing package metadata into spreadsheets, databases, alerts, or agents.

How Many Results Can You Scrape?

Use count to control the number of package records returned. The public Go Packages search interface supports up to 100 results per query, and the Bot returns fewer records when fewer public matches are available.

Automation and Export

Automation and export flow

BrowserAct returns structured Go package records first. You can then use the output through API JSON responses, n8n workflows, Make scenarios, Zapier automations, MCP-based agent workflows configured from the Bot's Integrations tab, or manual CSV review.

Need Help?

Contact us at

Discord: Discord Community

E-mail: service@browseract.com

What can we do for youWhat can we do for you

FAQ About the template

Your next scraper starts here.

Go Packages Search Scraper | Extract Go Import Paths, Package URLs, Versions, Licenses, and Usage