Python script that takes screenshots (browsershots) using webkit
python >= 3.7
PyQt >= 5.13
PyQtWebEngine >= 5.13
Notice: Since Qt5, QtWebkit has been deprecated by QtWebEngine using Blink Engine from Chromium Project.
- Add following packages:
apt-get install libqt5core5a python3-pip
- Install webkit2png:
pip3 install webkit2png
- Install git:
apt-get install git
- Clone the project:
git clone https://github.com/adamn/python-webkit2png.git python-webkit2png
- Install with:
python3 python-webkit2png/setup.py install
- If the requirement install failed, satified with:
pip3 install -r requirements.txt
- install qt5 webkit:
www/py-qt5-webkit, www/qt5-webkit, devel/py-qt5
- install pip:
devel/py-pip
- install via:
pip install webkit2png
- For help run:
python3 -m webkit2png -h