Hello all,
My plan is to use the perl module WebService::Google:Reader for this. I already have that part working. The part that I need help with is how to go about using curl or something similar to post the URLs containing the video to boxee so they are added to my watch later list.
Here's the sample code for grabbing video from my google reader lists:
Code:#!/usr/bin/perl # use strict; use warnings; use WebService::Google::Reader; my $query = shift or die "missing query"; my @feeds = @ARGV; my $reader = WebService::Google::Reader->new( username => 'EDITED', password => 'EDITED', ); my $feed = $reader->search($query, feed => \@feeds, count => 100) or die $reader->error; do { for my $entry ($feed->entries) { # print $entry->title, "\n"; print $entry->link->href, "\n" if $entry->link and $entry->link->href; } sleep 1; } while ($reader->more($feed));


Reply With Quote
Bookmarks