quietin / seg_backup_script

python program for blog essay backup in segmentfault.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文版

seg_backup_script

Blog Backup Program

A blog backup script for the SegmentFault website, written in Tornado and PhantomJS.
PhantomJS simulates login, and Tornado's coroutines are used for concurrency.

There are two versions of the code: backup_simple.py uses only requests for login, while backup_with_phantomjs additionally utilizes PhantomJS. The latter is more suitable for websites with dynamically generated content (such as Weibo) after further extension.

Usage:

To see usage:

python worker.py -h

About

python program for blog essay backup in segmentfault.com

License:MIT License


Languages

Language:Python 100.0%