Navigate Action API Reference ๐
Introduction ๐
The Navigate
action is used to navigate to a specific URL. This is part of the core
package in Go-Ski.
Syntax ๐
Here's how you define a Navigate
action:
Action{
Type: core.Navigate,
URL: "https://www.example.com",
}
Parameters ๐ ๏ธ
Type
: Should be set tocore.Navigate
.URL
: The URL you want to navigate to.
Example ๐
Here's a simple example that navigates to a website:
Action{
Type: core.Navigate,
URL: "https://www.example.com",
}
Conclusion ๐
The Navigate
action allows you to easily move to different web pages, making it a fundamental part of web scraping with Go-Ski.
For the complete example, you can check out the Go-Ski GitHub Repository (opens in a new tab).