I would find it very convenient to have all my written posts in one folder on my hard drive. The content of each file should be identical to the blockchain data. I did not found a tool for this task, so I wrote a python script. The script does the following: * it reads the blog section of the given author (limited to the newest 500 posts) * skip resteemed posts * extracts title, timestamp, permlink and store them as YAML extension at top of the md file * saves the content as markdown file ``` #!/usr/bin/python from beem import Steem from beem.comment import Comment from beem.account import Account import os import io import argparse if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("author") parser.add_argument("path") args = parser.parse_args() author = args.author path = args.path stm = Steem(node="https://api.steemit.com") account = Account(author, steem_instance=stm) for comment in account.get_blog(limit=500): if comment["author"] != author: continue markdown_content = comment.body title = comment.title timestamp = comment.json()["created"] author = comment["author"] permlink = comment["permlink"] yaml_prefix = '---\n' yaml_prefix += 'title: %s\n' % title yaml_prefix += 'date: %s\n' % timestamp yaml_prefix += 'permlink %s' % permlink yaml_prefix += 'author: %s\n---\n' % author filename = os.path.join(path, timestamp.split('T')[0] + '_' + permlink + ".md") with io.open(filename, "w", encoding="utf-8") as f: f.write(yaml_prefix + markdown_content) ``` Store this file as `save_posts_as_md.py`. `beem` need to be installed. The script needs two parameter: ``` python save_posts_as_md.py <author> <path> ``` The posts from the author are stored in the given path. The filename consists of the date and the permlink. ### Result for holger80 ``` python save_posts_as_md.py holger80 . ```  Viewing the markdown files works best using the great [typora](https://typora.io/) editor. ### Storing one post as markdown file ``` #!/usr/bin/python from beem import Steem from beem.comment import Comment from beem.account import Account import io import argparse if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("authorperm") parser.add_argument("filename") args = parser.parse_args() authorperm = args.authorperm filename = args.filename stm = Steem(node="https://api.steemit.com") comment = Comment(authorperm, steem_instance=stm) markdown_content = comment.body title = comment.title timestamp = comment["created"] author = comment["author"] yaml_prefix = '---\n' yaml_prefix += 'title: %s\n' % title yaml_prefix += 'date: %s\n' % str(timestamp) yaml_prefix += 'author: %s\n---\n' % author with io.open(filename, "w", encoding="utf-8") as f: f.write(yaml_prefix + markdown_content) ``` This script works when a authorperm and filename was given: ``` python save_post_as_md.py @holger80/how-to-post-using-typora-and-beempy how-to-post-using-typora-and-beempy.md ```
author | holger80 |
---|---|
permlink | store-all-posts-from-an-author-in-markdown-files |
category | steemdev |
json_metadata | "{"community": "beem", "app": "beempy/0.23.10", "image": ["https://cdn.steemitimages.com/DQmQRi5odZ7Np5TmoUDEG4aRJ9JdjLw4bxu56LCPjv33b3C/image.png"], "links": ["https://typora.io/"], "tags": ["steemdev", "steemtank", "python", "beem"], "format": "markdown", "canonical_url": "https://hive.blog/steemdev/@holger80/store-all-posts-from-an-author-in-markdown-files"}" |
created | 2018-11-23 13:05:54 |
last_update | 2020-05-23 14:43:39 |
depth | 0 |
children | 21 |
last_payout | 2018-11-30 13:05:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 31.328 HBD |
curator_payout_value | 9.540 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,318 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,783,817 |
net_rshares | 66,691,953,133,778 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fminerten | 0 | 4,869,882,948,429 | 55% | ||
steempty | 0 | 2,941,573,430,901 | 55% | ||
teamsteem | 0 | 8,615,316,324 | 5% | ||
thecryptodrive | 0 | 73,577,737,607 | 30% | ||
gtg | 0 | 980,978,997,330 | 15% | ||
chamviet | 0 | 2,151,422,472 | 100% | ||
redpalestino | 0 | 425,985,069,326 | 15% | ||
quigua | 0 | 80,794,374 | 100% | ||
timcliff | 0 | 979,020,394,887 | 85% | ||
oflyhigh | 0 | 619,473,990,295 | 25% | ||
snwolak | 0 | 6,980,070,110 | 90% | ||
stevescoins | 0 | 23,208,198,044 | 33% | ||
krnel | 0 | 200,478,098,181 | 15% | ||
eforucom | 0 | 19,503,337,359 | 1% | ||
barton26 | 0 | 10,877,790,130 | 100% | ||
rach | 0 | 3,727,763,396 | 100% | ||
edb | 0 | 20,892,844,011 | 100% | ||
yadamaniart | 0 | 808,454,548 | 2.01% | ||
apsu | 0 | 45,371,850,113 | 100% | ||
anthonyadavisii | 0 | 61,663,936,634 | 100% | ||
jaredk123 | 0 | 8,136,100,170 | 100% | ||
personz | 0 | 15,215,774,659 | 100% | ||
freebornsociety | 0 | 9,569,162,348 | 20% | ||
passion-fruit | 0 | 2,979,038,572 | 30% | ||
fortune-master | 0 | 3,099,085,869 | 30% | ||
unatalmaria | 0 | 280,802,959 | 100% | ||
monoc | 0 | 23,520,239 | 100% | ||
reggaemuffin | 0 | 9,965,938,857,233 | 100% | ||
anfitriones | 0 | 10,612,307 | 100% | ||
robofox | 0 | 6,123,506,202 | 100% | ||
cardumen | 0 | 108,203,421 | 100% | ||
jayna | 0 | 182,562,796 | 0.6% | ||
ew-and-patterns | 0 | 322,826,254,087 | 35% | ||
changeangels | 0 | 27,864,318 | 100% | ||
warfeed | 0 | 89,050,640 | 16.5% | ||
jacekw | 0 | 40,981,987,090 | 20% | ||
jeffrey24864 | 0 | 2,643,604,295 | 100% | ||
drorion | 0 | 10,266,459,298 | 100% | ||
codingdefined | 0 | 7,807,876,736 | 7.5% | ||
abigail-dantes | 0 | 846,973,434,548 | 50% | ||
upgoat | 0 | 1,503,000,634 | 100% | ||
resheep | 0 | 424,390,339 | 100% | ||
upcroak | 0 | 109,517,641 | 100% | ||
glitterbooster | 0 | 6,665,994,313 | 30% | ||
cifer | 0 | 4,649,127,258 | 30% | ||
nuthman | 0 | 150,739,440,285 | 30% | ||
theleapingkoala | 0 | 212,730,891 | 1% | ||
badham | 0 | 138,251,090 | 50% | ||
pele23 | 0 | 3,360,751,621 | 7% | ||
crokkon | 0 | 108,095,678,829 | 100% | ||
kamikaze | 0 | 263,258,078,524 | 15% | ||
openaccount | 0 | 2,779,606,760 | 100% | ||
scorer | 0 | 371,653,061,237 | 100% | ||
espoem | 0 | 16,871,159,955 | 10% | ||
mcfarhat | 0 | 4,394,628,537 | 6% | ||
nabilbouasla | 0 | 499,159,055 | 100% | ||
isnochys | 0 | 6,892,093,731 | 13% | ||
qurator | 0 | 166,952,702,789 | 4.03% | ||
steem-plus | 0 | 20,448,890,469 | 2.52% | ||
jesusj1 | 0 | 57,138,845 | 99% | ||
feo | 0 | 15,671,924 | 100% | ||
steemtaker | 0 | 3,416,699,270 | 3% | ||
newsrx | 0 | 1,350,251,315 | 100% | ||
mytechtrail | 0 | 488,159,514 | 50% | ||
bubbleburst | 0 | 5,559,731,956 | 100% | ||
funtraveller | 0 | 9,833,601,733 | 1% | ||
geekpowered | 0 | 57,750,164,122 | 100% | ||
steembasicincome | 0 | 1,417,943,431,616 | 25% | ||
antikesdenken | 0 | 7,393,059,852 | 100% | ||
thomasgift | 0 | 2,061,461,469 | 50% | ||
amosbastian | 0 | 32,301,052,015 | 15% | ||
irisworld | 0 | 202,646,026 | 30% | ||
smjn | 0 | 49,213,010,435 | 20% | ||
robertgelbmann | 0 | 22,438,484,818 | 100% | ||
matytan | 0 | 18,309,839,675 | 50% | ||
lukasmining | 0 | 2,790,233,602 | 50% | ||
jlordc | 0 | 26,411,463,400 | 50% | ||
michaelizer | 0 | 256,678,899 | 100% | ||
pierrehugo | 0 | 2,050,658,843 | 100% | ||
verhp11 | 0 | 112,469,137 | 1% | ||
condeas | 0 | 23,897,410,262 | 100% | ||
janse | 0 | 564,409,492 | 100% | ||
flugschwein | 0 | 33,231,290,630 | 75% | ||
themuffinman | 0 | 70,454,408 | 100% | ||
redheadpei | 0 | 140,296,050 | 5% | ||
schlafhacking | 0 | 109,797,074,086 | 100% | ||
thefunfactory | 0 | 70,387,709 | 100% | ||
someonefun | 0 | 70,387,928 | 100% | ||
funbox | 0 | 70,387,073 | 100% | ||
funlands | 0 | 403,368,790 | 100% | ||
funanime | 0 | 70,388,766 | 100% | ||
funkyfun | 0 | 70,387,904 | 100% | ||
funnyfun | 0 | 70,389,607 | 100% | ||
dmonia | 0 | 70,389,605 | 100% | ||
goldrym | 0 | 70,386,366 | 100% | ||
qeoddrir | 0 | 70,388,913 | 100% | ||
dodrorth | 0 | 70,387,201 | 100% | ||
zcool | 0 | 188,574,050 | 10% | ||
elleok | 0 | 2,924,343,337 | 34% | ||
angelinafx | 0 | 1,499,102,273 | 1% | ||
ikarus56 | 0 | 904,067,072 | 5% | ||
pinkwonder | 0 | 0 | 100% | ||
linnyplant | 0 | 22,534,689,774 | 100% | ||
commonlaw | 0 | 3,044,135,117 | 30% | ||
shahabudin | 0 | 38,557,785 | 50% | ||
soundworks | 0 | 1,324,917,844 | 100% | ||
smartmeme | 0 | 908,160,230 | 50% | ||
arsadulislam | 0 | 228,446,008 | 45% | ||
literaturkritik | 0 | 16,724,933,268 | 100% | ||
elohim4 | 0 | 237,539,685 | 3% | ||
qurator-tier-1-2 | 0 | 39,461,890,204 | 4.03% | ||
ocdb | 0 | 33,902,760,406,027 | 64.01% | ||
wstanley226 | 0 | 2,457,998,100 | 50% | ||
osakscinac | 0 | 522,900,040 | 100% | ||
titadisca | 0 | 536,371,573 | 100% | ||
inpegeartdu | 0 | 546,660,757 | 100% | ||
baisohicjo | 0 | 566,959,146 | 100% | ||
tempringkelfi | 0 | 548,279,521 | 100% | ||
themanny | 0 | 41,640,727,849 | 100% | ||
elizabethk87r6 | 0 | 525,954,176 | 100% | ||
taylorsed50 | 0 | 504,626,894 | 100% | ||
jessicaui89 | 0 | 558,182,913 | 100% | ||
alyssah2tp3green | 0 | 558,097,760 | 100% | ||
steeming-hot | 0 | 20,466,334 | 0.25% | ||
fullnodeupdate | 0 | 4,253,543,094 | 100% | ||
mops2e | 0 | 78,267,578 | 8% | ||
fulltimebot12 | 0 | 123,845,999,144 | 100% | ||
mariaovs | 0 | 558,111,115 | 100% | ||
sarah12m | 0 | 526,266,354 | 100% | ||
torrey.blog | 0 | 12,027,372,961 | 100% | ||
bluengel | 0 | 1,898,885,688 | 100% | ||
elizabethp6 | 0 | 586,421,683 | 100% | ||
isabelpereira | 0 | 213,165,995 | 2.01% | ||
dramaking | 0 | 1,275,116,649 | 100% | ||
fulltimebot19 | 0 | 123,702,755,492 | 100% | ||
fulltimebot31 | 0 | 123,684,038,634 | 100% | ||
fulltimebot39 | 0 | 123,629,380,519 | 100% | ||
jacekw.dev | 0 | 2,497,373,540 | 40% | ||
maduresway | 0 | 513,035,118 | 100% | ||
hitputzfetwall | 0 | 515,127,468 | 100% | ||
contsimilti | 0 | 549,646,857 | 100% | ||
gailadolma | 0 | 545,430,700 | 100% | ||
biolinghave | 0 | 558,120,984 | 100% | ||
perepilichnyy | 0 | 2,105,622,818,397 | 100% | ||
fulltimebot75 | 0 | 123,177,677,715 | 100% | ||
linkerstinker | 0 | 470,123,986 | 50% | ||
merlin7 | 0 | 9,315,257,283 | 0.51% | ||
steem-ua | 0 | 454,657,418,346 | 3.47% | ||
alvinvoo | 0 | 870,345,805 | 100% | ||
nerdrepost | 0 | 1,011,401,930 | 75% | ||
jchappe | 0 | 51,109,403 | 49% | ||
nicolemih | 0 | 557,247,069 | 100% | ||
crytiblock | 0 | 459,422,923 | 5% | ||
nurah | 0 | 253,849,197 | 50% | ||
kingnosa | 0 | 59,748,307 | 50% | ||
dfen | 0 | 556,000,000 | 100% | ||
steemtank | 0 | 1,998,009,434,625 | 100% | ||
whitebot | 0 | 56,594,769,156 | 3% | ||
samantha-w | 0 | 1,856,756,130,283 | 55% | ||
binaural | 0 | 23,756,772,571 | 100% |
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](https://steemit.com/@partiko-android)
author | anthonyadavisii |
---|---|
permlink | anthonyadavisii-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t132645942z |
category | steemdev |
json_metadata | {"app":"partiko"} |
created | 2018-11-23 13:26:45 |
last_update | 2018-11-23 13:26:45 |
depth | 1 |
children | 1 |
last_payout | 2018-11-30 13:26:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.063 HBD |
curator_payout_value | 0.015 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 652 |
author_reputation | 212,723,519,430,380 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,784,882 |
net_rshares | 134,732,110,132 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
guiltyparties | 0 | 1,817,027,107 | 3.44% | ||
nuthman | 0 | 50,311,852,647 | 10% | ||
jlordc | 0 | 13,049,140,598 | 25% | ||
holger80 | 0 | 55,519,401,638 | 20% | ||
condeas | 0 | 14,034,688,142 | 60% |
Good idea, I will work on this.
author | holger80 |
---|---|
permlink | re-anthonyadavisii-anthonyadavisii-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t150647690z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 15:06:51 |
last_update | 2018-11-23 15:06:51 |
depth | 2 |
children | 0 |
last_payout | 2018-11-30 15:06:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 31 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,789,757 |
net_rshares | 0 |
.
author | crokkon |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t161841735z |
category | steemdev |
json_metadata | "{"app": ""}" |
created | 2018-11-23 16:18:42 |
last_update | 2022-09-18 10:10:54 |
depth | 1 |
children | 1 |
last_payout | 2018-11-30 16:18:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.023 HBD |
curator_payout_value | 0.007 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1 |
author_reputation | 81,214,366,861,104 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,793,266 |
net_rshares | 49,651,820,437 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
holger80 | 0 | 49,651,820,437 | 18% |
Thanks, I will try this.
author | holger80 |
---|---|
permlink | re-crokkon-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t170000612z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 17:00:03 |
last_update | 2018-11-23 17:00:03 |
depth | 2 |
children | 0 |
last_payout | 2018-11-30 17:00:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 24 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,794,922 |
net_rshares | 0 |
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.
author | geekpowered |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181124t014555272z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-24 01:45:54 |
last_update | 2018-11-24 01:45:54 |
depth | 1 |
children | 0 |
last_payout | 2018-12-01 01:45:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 212 |
author_reputation | 99,319,261,112,097 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,812,764 |
net_rshares | 0 |
Cool, I got all my posts saved in 3s. > it reads the blog section of the given author (limited to the newest 500 posts) But I guess real bloggers would love to save their complete history (idea for v2.0 ;-) )
author | gtg |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t132813893z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 13:28:15 |
last_update | 2018-11-23 13:28:15 |
depth | 1 |
children | 1 |
last_payout | 2018-11-30 13:28:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.023 HBD |
curator_payout_value | 0.007 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 210 |
author_reputation | 461,812,694,713,691 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,784,954 |
net_rshares | 49,767,314,064 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
holger80 | 0 | 49,767,314,064 | 18% |
I will work on a account history version.
author | holger80 |
---|---|
permlink | re-gtg-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t150815345z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 15:08:18 |
last_update | 2018-11-23 15:08:18 |
depth | 2 |
children | 0 |
last_payout | 2018-11-30 15:08:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 42 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,789,817 |
net_rshares | 0 |
I have one 0.18$ upvote for comment writer :) $rewarding bounty 100% 2days
author | holger80 |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t131112154z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 13:11:15 |
last_update | 2018-11-23 13:11:15 |
depth | 1 |
children | 2 |
last_payout | 2018-11-30 13:11:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 74 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,784,099 |
net_rshares | 0 |
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.
author | rewarding |
---|---|
permlink | re-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t131112154z-20181123t131119z |
category | steemdev |
json_metadata | "{"app": "beem/0.20.10"}" |
created | 2018-11-23 13:11:24 |
last_update | 2018-11-23 13:11:24 |
depth | 2 |
children | 0 |
last_payout | 2018-11-30 13:11:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 380 |
author_reputation | 32,654,544,428,658 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,784,105 |
net_rshares | 0 |
Congratulations to the following winner(s) of the bounty (The upvote value is distributed to the winner(s) by setting beneficiaries for this comment): * @anthonyadavisii has earned 41.08% * @oflyhigh has earned 21.16% * @gtg has earned 18.90% * @crokkon has earned 18.86%
author | rewarding | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
permlink | re-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t131112154z-20181125t130557z | ||||||||||||||||||||||||
category | steemdev | ||||||||||||||||||||||||
json_metadata | "{"app": "beem/0.20.10"}" | ||||||||||||||||||||||||
created | 2018-11-25 13:05:57 | ||||||||||||||||||||||||
last_update | 2018-11-25 13:05:57 | ||||||||||||||||||||||||
depth | 2 | ||||||||||||||||||||||||
children | 0 | ||||||||||||||||||||||||
last_payout | 2018-12-02 13:05:57 | ||||||||||||||||||||||||
cashout_time | 1969-12-31 23:59:59 | ||||||||||||||||||||||||
total_payout_value | 0.001 HBD | ||||||||||||||||||||||||
curator_payout_value | 0.071 HBD | ||||||||||||||||||||||||
pending_payout_value | 0.000 HBD | ||||||||||||||||||||||||
promoted | 0.000 HBD | ||||||||||||||||||||||||
body_length | 272 | ||||||||||||||||||||||||
author_reputation | 32,654,544,428,658 | ||||||||||||||||||||||||
root_title | "Store all posts from an author in markdown files" | ||||||||||||||||||||||||
beneficiaries |
| ||||||||||||||||||||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||||||||||||||||||||
percent_hbd | 10,000 | ||||||||||||||||||||||||
post_id | 75,880,402 | ||||||||||||||||||||||||
net_rshares | 451,681,523,476 | ||||||||||||||||||||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
holger80 | 0 | 439,628,366,082 | 100% | ||
rewarding | 0 | 12,053,157,394 | 100% |
@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 <module> 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?
author | mytechtrail |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t153429857z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"community":"steempeak","app":"steempeak"} |
created | 2018-11-23 15:34:30 |
last_update | 2018-11-23 15:35:33 |
depth | 1 |
children | 2 |
last_payout | 2018-11-30 15:34:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 657 |
author_reputation | 19,007,675,085,002 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,791,200 |
net_rshares | 0 |
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.
author | holger80 |
---|---|
permlink | re-mytechtrail-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t165908524z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 16:59:12 |
last_update | 2018-11-23 16:59:21 |
depth | 2 |
children | 1 |
last_payout | 2018-11-30 16:59:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 123 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,794,889 |
net_rshares | 989,195,223 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mytechtrail | 0 | 989,195,223 | 100% |
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?
author | mytechtrail |
---|---|
permlink | re-holger80-re-mytechtrail-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t175818080z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"community":"steempeak","app":"steempeak"} |
created | 2018-11-23 17:58:18 |
last_update | 2018-11-23 17:58:18 |
depth | 3 |
children | 0 |
last_payout | 2018-11-30 17:58:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 140 |
author_reputation | 19,007,675,085,002 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,797,103 |
net_rshares | 0 |
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.](https://discord.gg/k2Hu77b) If you like what @ocd does, consider voting for [ocd-witness through SteemConnect](steemconnect.com/sign/account-witness-vote?witness=ocd-witness&approve=1) or on the Steemit Witnesses page. :)
author | ocdb |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181124t090359147z |
category | steemdev |
json_metadata | {"app":"postpromoter/1.9.3"} |
created | 2018-11-24 09:04:00 |
last_update | 2018-11-24 09:04:00 |
depth | 1 |
children | 0 |
last_payout | 2018-12-01 09:04:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 538 |
author_reputation | 762,893,312,222,053 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,825,166 |
net_rshares | 0 |
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.
author | oflyhigh |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t134047715z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 13:40:51 |
last_update | 2018-11-23 13:40:51 |
depth | 1 |
children | 1 |
last_payout | 2018-11-30 13:40:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.026 HBD |
curator_payout_value | 0.008 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 221 |
author_reputation | 6,356,023,283,484,429 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,785,534 |
net_rshares | 55,728,268,317 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
holger80 | 0 | 55,728,268,317 | 20% |
The history call would allow returning all posts from an account, but would take some more time to be finished.
author | holger80 |
---|---|
permlink | re-oflyhigh-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t150618965z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 15:06:21 |
last_update | 2018-11-23 15:06:21 |
depth | 2 |
children | 0 |
last_payout | 2018-11-30 15:06:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 111 |
author_reputation | 358,857,509,568,825 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,789,734 |
net_rshares | 0 |
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!
author | pele23 | ||||||
---|---|---|---|---|---|---|---|
permlink | re-holger80-20181123t142810307z | ||||||
category | steemdev | ||||||
json_metadata | {"tags":["steemdev","steemtank","python","beem"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"} | ||||||
created | 2018-11-23 13:28:12 | ||||||
last_update | 2018-11-23 13:28:12 | ||||||
depth | 1 | ||||||
children | 0 | ||||||
last_payout | 2018-11-30 13:28:12 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 213 | ||||||
author_reputation | 353,342,567,588,658 | ||||||
root_title | "Store all posts from an author in markdown files" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 75,784,951 | ||||||
net_rshares | 0 |
lovely, another great use case for your libs :)
author | schlafhacking |
---|---|
permlink | re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t133326465z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-11-23 13:33:27 |
last_update | 2018-11-23 13:33:27 |
depth | 1 |
children | 0 |
last_payout | 2018-11-30 13:33:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 47 |
author_reputation | 15,067,517,752,330 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,785,208 |
net_rshares | 0 |
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](https://steemit.com/@steem-plus) to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
author | steem-plus |
---|---|
permlink | store-all-posts-from-an-author-in-markdown-files---vote-steemplus |
category | steemdev |
json_metadata | {} |
created | 2018-11-24 01:41:36 |
last_update | 2018-11-24 01:41:36 |
depth | 1 |
children | 0 |
last_payout | 2018-12-01 01:41:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 435 |
author_reputation | 247,952,188,232,400 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,812,593 |
net_rshares | 0 |
#### 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: * Your follower network is great! * The readers appreciate your great work! * Great user engagement! You rock! **Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
author | steem-ua |
---|---|
permlink | re-store-all-posts-from-an-author-in-markdown-files-20181124t005339z |
category | steemdev |
json_metadata | "{"app": "beem/0.20.9"}" |
created | 2018-11-24 00:53:42 |
last_update | 2018-11-24 00:53:42 |
depth | 1 |
children | 0 |
last_payout | 2018-12-01 00:53:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 624 |
author_reputation | 23,214,230,978,060 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,810,826 |
net_rshares | 0 |
This post has been just added as new item to _[timeline of beem on Steem Projects](https://steemprojects.com/projects/p/beem/?utm_source=comment_timeline&utm_medium=steem&utm_campaign=new_event&utm_content=c1)_. If you want to be notified about new updates from this project, register on Steem Projects and add beem to your favorite projects.
author | steemprojects |
---|---|
permlink | re-store-all-posts-from-an-author-in-markdown-files-20181123t134520 |
category | steemdev |
json_metadata | "" |
created | 2018-11-23 13:45:21 |
last_update | 2018-11-23 13:45:21 |
depth | 1 |
children | 0 |
last_payout | 2018-11-30 13:45:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 345 |
author_reputation | 29,054,729,340 |
root_title | "Store all posts from an author in markdown files" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 75,785,745 |
net_rshares | 0 |