This project was created for serving who wants to read latest chapter of the novel but don't know when it will be posted on the website so they have to checking by thier own. To aviod of waste of time. LINE Notify will tell it for you when the new chapter come. More detail about the novel link
- Python 2.7
- Pip
- Chromium
- ChromeDiver
- BeautifulSoup4
- Requests.
CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`
sudo apt-get remove google-chrome-stable
rm ~/selenium-server-standalone-*.jar
rm ~/chromedriver_linux64.zip
sudo rm /usr/local/bin/chromedriver
sudo rm /usr/local/bin/selenium-server-standalone.jar
sudo apt-get update
sudo apt-get install -y unzip openjdk-8-jre-headless xvfb libxi6 libgconf-2-4
sudo apt install -y chromium-browser
wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/bin/chromedriver
sudo chown root:root /usr/local/bin/chromedriver
sudo chmod 0755 /usr/local/bin/chromedriver
sudo apt install python-pip -y
python -m pip install -U selenium
sudo apt-get install python-bs4 -y
pip install requests
Read it on example.ipynb
Installing Chromium Chromedriver
sudo apt-get install chromium-chromedriver
Adding the path to the selenium line
driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")