Untitled


SUBMITTED BY: Guest

DATE: April 15, 2013, 4:27 a.m.

FORMAT: Text only

SIZE: 770 Bytes

HITS: 1291

  1. this doesn't written but can be hacked with to load your starred items from google reader
  2. assumptions: your username is in username, password in password, some large-enough number is in largenumber
  3. postconditions: workingFile is a list of your URLs for later use
  4. from libgreader import ReaderUrl
  5. from libgreader import ClientAuthMethod
  6. from libgreader import GoogleReader
  7. import json
  8. ca = ClientAuthMethod(username,password)
  9. reader = GoogleReader(ca)
  10. reader.buildSubscriptionList()
  11. ul=ReaderUrl.STARRED_LIST
  12. reader.makeSpecialFeeds()
  13. d=reader.getSpecialFeed(ul)
  14. for x in range(largenumber):
  15. d.loadItems()
  16. outFile=open('workingFile','w')
  17. for x in d.getItems():
  18. outFile.write(x.url+"\n")

comments powered by Disqus