Regex
This commit is contained in:
@@ -29,7 +29,7 @@ class Generate_List
|
||||
@svn_url = 'http://plugins.svn.wordpress.org/'
|
||||
@file_name = DATA_DIR + '/plugins.txt'
|
||||
@popular_url = 'http://wordpress.org/extend/plugins/browse/popular/'
|
||||
@popular_regex = %r{<h3><a href="http://wordpress.org/extend/plugins/(.*)/">.+</a></h3>}i
|
||||
@popular_regex = %r{<h3><a href="http://wordpress.org/extend/plugins/(.+)/">.+</a></h3>}i
|
||||
elsif type =~ /themes/i
|
||||
@type = "theme"
|
||||
@svn_url = 'http://themes.svn.wordpress.org/'
|
||||
|
||||
Reference in New Issue
Block a user