~rek2/goTootRamdonVideo

255a85f14e1fae5baa98a80644c36bee5965208c — rek2 1 year, 6 months ago ec48d69 master
default in the configuration now with peertube instead of odysee
2 files changed, 3 insertions(+), 3 deletions(-)

M config.ini
M main.go
M config.ini => config.ini +2 -2
@@ 9,5 9,5 @@ client_secret = `gopass show -o -f gotootramdonvideo/clientsecret`
username = hackersespanol@gmail.com
password = `gopass show -o -f gotootramdonvideo/password` 

[odysee]
feed_url = https://lbryfeed.melroy.org/playlist/odysee/Hackerñol#1 
[peertube]
feed_url = https://kolektiva.media/feeds/videos.xml?videoChannelId=917

M main.go => main.go +1 -1
@@ 200,7 200,7 @@ func readConfig() (int, []string, string, string, string, string, string, string
	clientSecret, err := parseCredentials(cfg.Section("mastodon").Key("client_secret").String())
	username := cfg.Section("mastodon").Key("username").String()
	password, err := parseCredentials(cfg.Section("mastodon").Key("password").String())
	feedURL := cfg.Section("odysee").Key("feed_url").String()
	feedURL := cfg.Section("peertube").Key("feed_url").String()
	if err != nil {
		log.Fatal(err)
	}