first commit

This commit is contained in:
2020-01-15 13:35:30 +01:00
commit c9cd268366
15 changed files with 1884 additions and 0 deletions

20
configuration.go Normal file
View 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")
)