first commit
This commit is contained in:
20
configuration.go
Normal file
20
configuration.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/chromedp/cdproto/cdp"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
const (
|
||||
emailField = `//*[@id="m_login_email"]`
|
||||
passwordField = `//*[@id="m_login_password"]`
|
||||
)
|
||||
|
||||
var (
|
||||
headers = map[string]interface{}{
|
||||
"Accept-Language": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7",
|
||||
}
|
||||
nodes []*cdp.Node
|
||||
|
||||
randomText = viper.GetStringSlice("comment_on_posts")
|
||||
)
|
||||
Reference in New Issue
Block a user