View this post on Hive: Store all posts from an author in markdown files
Store all posts from an author in markdown files
6 years ago by holger80 (72)
$40.87
- Past Payouts $40.87
- - Author $31.33
- - Curators $9.54
158 votes
- + ocdb: $20.970 (64.01%)
- + reggaemuffin: $6.164 (100%)
- + fminerten: $3.012 (55%)
- + steempty: $1.819 (55%)
- + perepilichnyy: $1.302 (100%)
- + steemtank: $1.236 (100%)
- + samantha-w: $1.148 (55%)
- + steembasicincome: $0.877 (25%)
- + gtg: $0.607 (15%)
- + timcliff: $0.606 (85%)
- + abigail-dantes: $0.524 (50%)
- + oflyhigh: $0.383 (25%)
- + steem-ua: $0.281 (3.47%)
- + redpalestino: $0.263 (15%)
- + scorer: $0.230 (100%)
- + ew-and-patterns: $0.200 (35%)
- + kamikaze: $0.163 (15%)
- + krnel: $0.124 (15%)
- + qurator: $0.103 (4.03%)
- + nuthman: $0.093 (30%)
- … and 138 more
I like this idea, @holger80!
What would be a nice addition is maybe for the script to attempt to save local copies of all images used in the blog as well. So basically saving a backup of all markdown and images from a given Steem blog.
I've lost count of the number of image links I have used and last thing I would want to happen is the respective hosts serving up those images shutting down and then my blog being a graveyard of 'X' icons.
And, even if that does happen, with locally saved copies, we would be able to edit a good link back in no problem. :)
What do you think?
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good idea, I will work on this.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
FYI:
Due to default
max_feed_size
setting,get_blog
only can return MAX 500 items for an author, So if an author has more than 500 articles, then the early article will can not be obtained by this method.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The history call would allow returning all posts from an account, but would take some more time to be finished.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Cool, I got all my posts saved in 3s.
But I guess real bloggers would love to save their complete history (idea for v2.0 ;-) )
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I will work on a account history version.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Cool idea! You could use
block_history(reblogs=False)
to get whatever the account history api provides without having to care about the limit parameter or resteems.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks, I will try this.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@holger80 I get the following when I try to run (I did pip3 -U beem):
randy@apollo:~/beemcode$ python3 save_post_as_md.py mytechtrail .
Traceback (most recent call last):
File "save_post_as_md.py", line 17, in
comment = Comment(authorperm, steem_instance=stm)
File "/home/randy/.local/lib/python3.6/site-packages/beem/comment.py", line 58, in init
[author, permlink] = resolve_authorperm(authorperm)
File "/home/randy/.local/lib/python3.6/site-packages/beem/utils.py", line 159, in resolve_authorperm
raise ValueError("Invalid identifier")
ValueError: Invalid identifier
Any ideas?
Is this the correct place to ask for help?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You mixed up both scripts.
The script save_post_as_md.py is for saving one post. You have to copy the first one in my post.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Oops, thanks for the quick response and catching my error.
Do you have a github repo for all these awesome python programs you are writing?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I will try to do as you suggest in your post for my blog, as I wanted to have a digest of my blog stored.
I just don’t have a clue how this markdown thing works. I can’t code, let alone, read code.
Wish me luck!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has been just added as new item to timeline of beem on Steem Projects.
If you want to be notified about new updates from this project, register on Steem Projects and add beem to your favorite projects.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I have one 0.18$ upvote for comment writer :)
$rewarding bounty 100% 2days
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations to the following winner(s) of the bounty (The upvote value is distributed to the winner(s) by setting beneficiaries for this comment):
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The bounty is set. When the post is 2.00 days old, a comment is created and upvoted with a 100.00% vote from holger80. The beneficaries of this comment is distributed to all top-level comment authors of this post. The comments are weighted by the creator and other reader by their upvotes. When no comment is created or no comment is upvoted, no comment from rewarding is created.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
lovely, another great use case for your libs :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @holger80!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 7.245 which ranks you at #69 across all Steem accounts.
Your rank has not changed in the last three days.
In our last Algorithmic Curation Round, consisting of 254 contributions, your post is ranked at #1. Congratulations!
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @holger80!
You just got a 2.52% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Now this is a really useful script! Perhaps next you could write an expansion to convert them to another file format for easy reading. There are tons of python libraries for file formats, even doc files and such.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You got a 64.01% upvote from @ocdb courtesy of @holger80!
@ocdb is a non-profit bidbot for whitelisted Steemians, current max bid is 20 SBD and the respective amount in Steem.
Check our website https://thegoodwhales.io/ for the whitelist, queue and delegation info. Join our Discord channel for more information.
If you like what @ocd does, consider voting for ocd-witness through SteemConnect or on the Steemit Witnesses page. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit