Programmatically Div design to png generator of html code from url
- Install pip first:
sudo apt-get install python3-pip
- Then install virtualenv using pip3
sudo pip3 install virtualenv
- Now create a virtual environment
virtualenv venv
- Active your virtual environment:
source venv/bin/activate
- Enter on environment:
cd venv
pip install requests
pip install urllib3
pip install bs4
pip install html2image
git clone https://github.com/Tinoco/Ticapsoriginal_div2png.git
- Change the pdiv2png.py file with your sitemap url
python pdiv2png.py
- code and resource used in
Ticapsoriginal