Skip to content

alejoloaiza/parallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IRC WEBSCRAPING BOT

Steps

  1. Clone parallel repository
  2. Go to your $GOPATH
  3. Install the following dependencies
go get -v -u github.com/gocolly/colly/... 
go get -v -u "github.com/schollz/closestmatch"
go get -v -u "github.com/lib/pq"
go get -v -u "github.com/go-redis/redis"
  1. Be patient, it takes some time.
  2. Create a config file located in parallel/config/config.json use this sample
{ 
	"IRCNick":["YourNick"],
	"IRCChannels":["#Yourchannel"],
	"IRCUser":["user user user user user user"],
	"GoogleAPI":["Your api get address"],
	"IRCServerPort":["irc.ircserver.org:6667"],
	"DBHost":["Hostname of your postgresSQL DB"],
	"DBPort":["Port of your postgresSQL DB"],
	"DBUser":["User of your postgresSQL DB"],
	"DBPass":["Password of your postgresSQL DB"],
	"DBName":["Database Name your postgresSQL DB"]
}
  1. Database setup: follow steps at Database Setup
  2. Run go build located in your main folder
  3. Run the generated file ./main

About

Irc bot in golang for Webscraping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages