create account

RE: Store all posts from an author in markdown files by mytechtrail

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @holger80/store-all-posts-from-an-author-in-markdown-files

· @mytechtrail · (edited)
@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?
properties (22)
authormytechtrail
permlinkre-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t153429857z
categorysteemdev
json_metadata{"tags":["steemdev"],"community":"steempeak","app":"steempeak"}
created2018-11-23 15:34:30
last_update2018-11-23 15:35:33
depth1
children2
last_payout2018-11-30 15:34:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length657
author_reputation19,007,675,085,002
root_title"Store all posts from an author in markdown files"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,791,200
net_rshares0
@holger80 · (edited)
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.
👍  
properties (23)
authorholger80
permlinkre-mytechtrail-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t165908524z
categorysteemdev
json_metadata{"tags":["steemdev"],"app":"steemit/0.1"}
created2018-11-23 16:59:12
last_update2018-11-23 16:59:21
depth2
children1
last_payout2018-11-30 16:59:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length123
author_reputation358,857,509,568,825
root_title"Store all posts from an author in markdown files"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,794,889
net_rshares989,195,223
author_curate_reward""
vote details (1)
@mytechtrail ·
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?
properties (22)
authormytechtrail
permlinkre-holger80-re-mytechtrail-re-holger80-store-all-posts-from-an-author-in-markdown-files-20181123t175818080z
categorysteemdev
json_metadata{"tags":["steemdev"],"community":"steempeak","app":"steempeak"}
created2018-11-23 17:58:18
last_update2018-11-23 17:58:18
depth3
children0
last_payout2018-11-30 17:58:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length140
author_reputation19,007,675,085,002
root_title"Store all posts from an author in markdown files"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,797,103
net_rshares0