Skip to content

gaogao-qwq/go_course_table_crawler_server

Repository files navigation

A course table crawler service implementation with go and chromedp

FOSSA Status

Build from docker (Suggest)

Change ENV in Dockerfile first.

  1. Clone repo
git clone https://github.com/gaogao-qwq/go_course_table_crawler_server.git
cd go_course_table_crawler_server
mv .env.template .env # Configure environment variables
  1. Build image and run with .env file
docker build -t course_table_crawler_image .
docker run --name course_table_crawler_container --env-file .env -v /run/dbus:/run/dbus -p <host port>:56789 course_table_crawler_image

Build from native

Make sure that Chrome or Chromium is available in current environment

go mod download
go run main.go -address <server listen address> -port <server listen port>
               -loginurl <login page url> -homeurl <home page url>

License

FOSSA Status

About

A server-side course table crawler based on go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published