A script to scrape blog posts from Weebly websites into YAML front-matter HTML files for Hugo & Jekyll
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Samuel FORESTIER d7f9e98d63 Just reworks and cleans up the whole thing, now archiving 1 year ago
.gitignore Please read the modifications below: 1 year ago
README.md Just reworks and cleans up the whole thing, now archiving 1 year ago
weebly-scraper.py Just reworks and cleans up the whole thing, now archiving 1 year ago

README.md

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.