daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 64 in 337 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2. """
  3. Created on Sat Mar 23 15:58:33 2019
  4.  
  5. @author: chris
  6. """
  7.  
  8. from beem.account import Account
  9. from beem.steem import Steem
  10. from beem.nodelist import NodeList
  11. import json
  12.  
  13. n = NodeList()
  14. nodes = n.get_nodes()
  15. s = Steem(nodes)
  16. me = Account('sisygoboom')
  17.  
  18. last_string = ''
  19. for i in me.history(only_ops=['comment']):
  20.     if i['author'] == 'sisygoboom':
  21.         if i['parent_author'] == '':
  22.             if 'utopian-io' in json.loads(i['json_metadata'])['tags']:
  23.                 new_string = 'https://steemit.com/@sisygoboom/' + i['permlink']
  24.                 if new_string != last_string:
  25.                     print(new_string)
  26.                     last_string = new_string
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top