SVN: toys/rsget.pl/Image/AlbumEE

pawelz pawelz at pld-linux.org
Sun Sep 19 18:15:02 CEST 2010


Author: pawelz
Date: Sun Sep 19 18:15:01 2010
New Revision: 11810

Modified:
   toys/rsget.pl/Image/AlbumEE
Log:
- don't hardcode album id (spotted by glen, thx)


Modified: toys/rsget.pl/Image/AlbumEE
==============================================================================
--- toys/rsget.pl/Image/AlbumEE	(original)
+++ toys/rsget.pl/Image/AlbumEE	Sun Sep 19 18:15:01 2010
@@ -26,7 +26,7 @@
 	! m{<p class="f-left">user » <b><a href="user/\d+" title="View user profile.">(.+?)</a></b></p>};
 	my $user = $1;
 
-	! m{<p class="f-left">album » <a href="album/7631/50249339">(.+?)</a></p>};
+	! m{<p class="f-left">album » <a href="album/\d+/\d+">(.+?)</a></p>};
 	my $album = $1;
 
 	! m{<p class="f-left">photo » <b>(.+?)</b></p>};


More information about the pld-cvs-commit mailing list