Author: sparky
Date: Thu Mar 11 02:39:10 2010
New Revision: 11240

Modified:
   toys/rsget.pl/Video/Veoh
Log:
- partially updated, has problems with some (many?) videos


Modified: toys/rsget.pl/Video/Veoh
==============================================================================
--- toys/rsget.pl/Video/Veoh    (original)
+++ toys/rsget.pl/Video/Veoh    Thu Mar 11 02:39:10 2010
@@ -10,7 +10,7 @@
 web: "http://www.veoh.com/";
 uri: qr{veoh\.com/}
 slots: max
-status: OK 2009-10-06
+status: OK 2010-03-11
 
 unify:
        my $id;
@@ -24,8 +24,8 @@
        ! m/"videoId":"(.*?)",/;
        my $id = $1;
        my $ex_uri = "http://www.veoh.com/rest/v2/execute.xml?";
-               . 
"apiKey=5697781E-1C60-663B-FFD8-9B49D2B56D36&method=veoh.search.search"
-               . "&type=video&maxResults=1&permalink=$id&contentRatingId=1&";
+               . 
"apiKey=5697781E-1C60-663B-FFD8-9B49D2B56D36&method=veoh.video.findByPermalink"
+               . "&permalink=$id&";
        GET( $ex_uri );
 
        ! m/title="(.*?)"/;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to