Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Scraps movie show times from Star Cineplex website and pushes them to a CloudFireStore Database.

License

Notifications You must be signed in to change notification settings

ShawonAshraf/star-cineplex-scraper

Repository files navigation

star-cinplex-scraper

Web scraping and selenium vodoo magic.

Scraps movie show times from Star Cineplex website and pushes them to a CloudFireStore Database.

Dev

Make sure to have JDK 11 and Firefox/Chrome installed on your machine. Also check if the star cineplex website is up or not. That's one horrendous website I must say. After these, follow along :

Init Database

I've used Firebase CloudFireStore here. Why? Because updates should be realtime.

  • Create a firebase account.
  • Create a project.
  • Then download your service account credentials from your project settings.
  • Create a directory named db_secret inside src/main/resources and copy the credentials json file there.
  • Rename the file to db.json.

Now to building!

The hard way

  • Install gradle
  • Clone the repo
  • cd into the directory
  • Run the following into your command line.
./gradlew clean fatJar

# or, run the script

sudo chmod +x run.sh
./run.sh

The easy way

Use an IDE. Intellij IDEA preferable.

Screenshot from Database

img

Known Issues

Star cineplex website can get unresponsive at times and that'll make your web driver spit up a lot of stackTrace. Simply try again.

License

MIT

About

Scraps movie show times from Star Cineplex website and pushes them to a CloudFireStore Database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published