Scraping HTML Website Template (include css, js, images) and restructurize folders like original one. PyScrapPage is one of apps on challenge list i made. You can read it on [my blog].
Download this repository git clone https://github.com/dionajie/pyScrapPage.git
install package using pip
pip install urllib2
pip install validators
pip install BeautifulSoup
pip install url
open scraping.py and set variables
url = 'path/to/url'
filenamePage = 'your page filename'
pathfolder = 'path/to/your/folder'
Example:
url = 'http://blackrockdigital.github.io/startbootstrap-creative/'
filenamePage = 'index'
pathfolder = 'startbootstrap/'
Then go to your folder path and run this command in terminal
python -u scraping.py
- download image in inline style
Use this app wisely. It is your responsibility to use this app
[my blog] : https://blog.dionajie.com/python-apps-challenge-1bc71acbdc5f#.tgqxlbw31