SVN: toys/rsget.pl/Link/YouTube
sparky
sparky at pld-linux.org
Wed Jul 7 14:08:22 CEST 2010
Author: sparky
Date: Wed Jul 7 14:08:22 2010
New Revision: 11631
Modified:
toys/rsget.pl/Link/YouTube
Log:
- updated for page changes, fixes RSGETPL-10
Modified: toys/rsget.pl/Link/YouTube
==============================================================================
--- toys/rsget.pl/Link/YouTube (original)
+++ toys/rsget.pl/Link/YouTube Wed Jul 7 14:08:22 2010
@@ -20,9 +20,9 @@
GET( $-{_uri} );
stage_morelinks:
- push @{$-{list}}, $1 while s# href="(/watch\?v=.*?)\&feature=PlayList##;
+ push @{$-{list}}, $1 while s# href="(/watch\?v=.*?)\&##;
- if ( m{class="pagerCurrent".*<a href='(.*/view_play_list\?p=.{16}&page=\d+)' class="pagerNotCurrent" >}s ) {
+ if ( m{<a href="(http://.*?view_play_list.*?page=.*?)" class="yt-uix-pager-link" data-page="\d+" >Next</a>} ) {
GET_NEXT( stage_morelinks, $1 );
}
More information about the pld-cvs-commit
mailing list