Skip to content

Efficient random user-agent and referrer generator.

License

Notifications You must be signed in to change notification settings

zer-far/roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roulette

Roulette is a module designed to provide random user-agents and referrer headers.

Usage

package main

import (
	"fmt"
	"github.com/zer-far/roulette"
)

func main() {
	// Get a random user agent
	userAgent := roulette.GetUserAgent()
	fmt.Println("Random User Agent:", userAgent)

	// Get a random referrer
	referrer := roulette.GetReferrer()
	fmt.Println("Random Referrer:", referrer)
}
go run main.go