Created
December 20, 2012 06:12
-
-
Save askedrelic/4343277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from libgreader import GoogleReader, ClientAuthMethod | |
username = '' | |
password = '' | |
ca = ClientAuthMethod(username,password) | |
reader = GoogleReader(ca) | |
info = reader.getUserInfo() | |
reader.subscribe('feed/http://blog.aboutecho.com/feed/') | |
reader.buildSubscriptionList() | |
reader.feeds | |
[x.id for x in reader.feeds] | |
[x.title for x in reader.feeds] | |
echo_feed = [x for x in reader.feeds if "Echo" in x.title][0] | |
echo_feed.loadItems() | |
echo_feed.items | |
[x.origin for x in echo_feed.items] | |
article = [x.data for x in echo_feed.items][0] | |
article['content'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment