OMG, why would you do that this way?
If you need data, just ask API node for it:
https://developers.hive.io/tutorials-python/get_post_details.html
You are viewing a single comment's thread from:
OMG, why would you do that this way?
If you need data, just ask API node for it:
https://developers.hive.io/tutorials-python/get_post_details.html
because I want to use the code for medium and other sources, which work all well except hive :)
Hive is like no other. Doh.
this is what I got so far, but I can't seem to figure out how to set the correct author and permlink from the list.
yes, I'm learning python :)
path = "leofinance.io/@ash/bitcoin-experiment-financial-freedom-with-faucets-week-39"
path_list = path.split("/")
print(path_list)
if path_list[0] == "https:":
del path_list[0:3]
else:
del path_list[0]
details = Comment(authorperm["author", path_list[0]], authorperm["permlink", path_list[1]])
print(details)