A script to scrape blog posts from Weebly websites into YAML front-matter HTML files for Hugo & Jekyll
This repository has been archived on 2019-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2017-11-02 19:33:22 -04:00
.gitignore Please read the modifications below: 2017-03-15 00:10:51 +01:00
README.md Just reworks and cleans up the whole thing, now archiving 2017-11-02 19:33:22 -04:00
weebly-scraper.py Just reworks and cleans up the whole thing, now archiving 2017-11-02 19:33:22 -04:00

Weebly Blog Post Scraper

How to get yourself out Weebly hosting, without losing your content ?

Why ?

Weebly provides the option to "back up" a site, but not the actual posts or content made to it. Which is predatory bullshit designed to prey upon clients who don't have any technical skills or understanding and then lock them into their service.

This is a very simple script to scrape a Weebly site's blog posts into Markdown files that can be used in things like Hugo or Jekyll, or just be viewed by hand. To import Markdown files to Wordpress see this link.

Install it

Start with installing these requirements :

git clone https://labs.pixelswap.fr/HorlogeSkynet/weebly-scraper.git

Use it

To run this script with Python on the command line, just precise the Weebly target website, and the number of page you want to attempt to scrape (if you don't know, try a large number) :

cd weebly-scraper/
python3 weebly-scrapy.py http://example.weebly.com/ 20

Acknowledgment

This script had been firstly written by William GILLIS, and improved afterwards by Samuel FORESTIER.