Hi Karl,
On Sun, Sep 30, 2012 at 12:06 PM, kcrisman <[email protected]> wrote:
> With other things like twittercounter.com out there (I used this in class
> the other day, in fact), there must be all kinds of ways to take Sage's
> capabilities to take advantage of social media info like W|A does in that
> link. Let us know if you come up with one!
The script below is not exactly a full-fledge thing (just some fun for
a Sunday afternoon). But it demonstrates how to harvest data from
youtube.com and use Sage to generate some statistics. Here's a sample
session:
sage: load("youtube.py")
How many videos: 5
How many comments: 108
Average #comments per video: 21.6000
Most commented video: E_Dt-P3h7kY, 95
Least commented video: E_Dt-Z5a12A, 0
The full script is at
https://bitbucket.org/mvngu/misc/downloads/youtube.py
--
Regards,
Minh Van Nguyen
http://bit.ly/mvngu
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.