SVN: toys/rsget.pl/Link/SouthParkStudios

sparky sparky at pld-linux.org
Sun Jul 25 17:45:25 CEST 2010


Author: sparky
Date: Sun Jul 25 17:45:25 2010
New Revision: 11705

Added:
   toys/rsget.pl/Link/SouthParkStudios   (contents, props changed)
Log:
- new, extracts movie parts from each episode


Added: toys/rsget.pl/Link/SouthParkStudios
==============================================================================
--- (empty file)
+++ toys/rsget.pl/Link/SouthParkStudios	Sun Jul 25 17:45:25 2010
@@ -0,0 +1,26 @@
+# $Id$
+# Link::SouthParkStudios - Link decrypter plugin for rsget.pl
+#
+# 2010 (c) Przemysław Iskra <sparky at pld-linux.org>
+#		This program is free software,
+# you may distribute it under GPL v2 or newer.
+
+name: SouthParkStudios
+short: L:SouthParkStudios
+web: "http://www.southparkstudios.com/"
+uri: qr{southparkstudios\.com/episodes/\d+}
+slots: max
+status: OK 2010-07-25
+
+start:
+	GET( $-{_uri} );
+
+	! m/>var videoID = '(\d+)';</;
+	GET( "http://media.mtvnservices.com/player/config.jhtml?uri=mgid:cms:content:southparkstudios.com:$1&group=entertainment&type=network" );
+
+	my @list = m/<media:content url="(.*?)"/g;
+	ERROR("no links") unless @list;
+
+	LINK( @list );
+
+# vim: filetype=perl:ts=4:sw=4


More information about the pld-cvs-commit mailing list