-
This Project is a browserbased crawler to getting Post from member of cec facebook group (https://www.facebook.com/groups/cec.edu.vn/).
-
Post content will publish at website CEC Website https://cec.net.vn
THis project build with Java , chromedriver and Selenium
- Download and install Google Chrome .
- Download chromedriver http://chromedriver.chromium.org/downloads .
- Create and download service account key https://console.cloud.google.com/iam-admin/serviceaccounts
Rename and edit file SecretTemplate in src/net/cec
package net.cec;
public class SecretTemplate {
static
{
System.setProperty("webdriver.chrome.driver",
"path/to/chromedriver");
}
public static String email = "yourfacebookemail";
public static String password = "yourpassword";
}
Config GOOGLE_APPLICATION_CREDENTIALS enviroment variable
export GOOGLE_APPLICATION_CREDENTIALS=PATH/TO/JSON/FILE
Test with gradle test
$ gradle clean test
- Selenium - The Selenium automates browsers.
- Gradle - Gradle build tool.
- Google cloud - For store data an analytic (datastore,bigquery,pubsub,cloudfunction,appengine ..
Please read [CONTRIBUTING.md] for details on our code of conduct, and the process for submitting pull requests to us.
- Bui Dinh Ngoc - Initial work - ngocbd
- Nguyen Ngoc - Initial work - nguyenngoc195
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details