Navigation Menu

Skip to content

anthonyadavisii/SteemYaLater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automation to the Rescue!

     This Python 3.6 script uses the Steem Beem Library and a variety of methods to archive your Steem Blog images as well as markdown files. It used image hash verification to ensure that files are downloaded once saving valuable storage space.

735k3t.png

dcelof.png

Repository

https://github.com/anthonyadavisii/SteemYaLater

Version 3.0 Change Notes

Added DNS check to verify resolution before attempting to connect. Persistent JSON account operations. Set persist variable to TRUE and script will cache account operations in a json file. Backup folder doesn't exist issue resolved.

Version 2.0 Change Notes

  • Added PyCurl download method to address issues w steemitboard images
  • Data Deplication enabled: Prevents redownload of file if already exists in folder structure. Symbolic link with relative path placed instead saving valuable storage space.
  • Logging and CSV output: Session log file is produced in working directory. Output CSVs are created for each account so users may readily see what failed and may require manual action.

Version 1.0

     Version 1 was the basic framework with wget. We don't talk about version 1 anymore.

https://i.redd.it/zw17doei2h211.jpg

     I've worked hard and made a ton of progress in order to give my fellow Steemians a way to save their priceless data.

Roadmap

  • Steem Blog Backup as a Service
  • @dtube thumbnail support
  • Upload to Skynet web portal

Known Issues

     DTube thumbnails will not download as they are not stored within the Beem Comment json_metadata image property. Logic to be added to accomodate. Also, some links may require escape characters. These will be addressed as time permits.

Uses Python 3.6

Install Prerequisites

# PyCurl may require the following packages be installed.

sudo apt install libcurl4-openssl-dev libssl-dev

# Python modules installation

Python 3.6 -m pip install beem
Python 3.6 -m pip install wget
Python 3.6 -m pip install urllib3[secure]
Python 3.6 -m pip install pycurl
Python 3.6 -m pip install certifi #may or may not be needed if the [secure] option is used for urllib3

Execute Script

python3.6 SteemYaLater.py

Prompts for Steem User. Alternatively, you may populate the accounts list variable with users to backup

Account to Backup? anthonyadavisii

Script will crawl your blog_entries filtering out resteems (reblogs)

st4y66.png

Will then cycle through each blog_entry, save the body to a .txt files, and grab any images it can with wget or urllib3

Feel free to reach out if you need help! If you appreciate the work, consider sending me a tip!

dcelof.png

How to put your FREE Downvotes to work in 2 easy steps!

2sxn09.gif Learn more!

This post was created using the @eSteem Desktop Surfer App.

     They also have a referral program that promotes users to onboard to our great chain. Sign up using my referral link to help support my efforts to improve the Steem blockchain.

Ditch Partiko and get eSteem today!

PlayStore - Android Windows, Mac, Linux
Get eSteem on Google Play Get eSteem for Desktop
AppStore - iOS Web
Get eSteem on AppStore Get eSteem for Desktop

About

A Python Script that uses the Steem Beem Library and PyWebCopy to Archive your Steem Blockchain Blog Markdown as Text Files and Backs up Images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages