Browse Source

Updated seed data

spesk1 3 years ago
parent
commit
42167adc28
2 changed files with 166 additions and 3 deletions
  1. 9 3
      parse.pl
  2. 157 0
      seed_data.txt

+ 9 - 3
parse.pl

@@ -9,10 +9,16 @@ use warnings;
 my @page = split("\n", `cat saints.html`);
 
 foreach my $line ( @page ) {
-	if ( $line =~ m/<td data-sort-value=.*<a\ href=.*title="(.*)"/ ) {
+	if ( $line =~ m/title="(.*)">.*/ ) {
 		my $line1 = $1;
-		if ( $line1 =~ m/^([a-zA-z0-9\ ,-]{1,})/ ) {
-			print "$1\n";
+		if ( $line1 =~ m/ctx/ ) {
+			next;
+		} else {
+			print "$line1\n";
 		}
+		
+		#if ( $line1 =~ m/^([a-zA-z0-9\ ,-]{1,})/ ) {
+		#	print "$1\n";
+		#}
 	}
 }

File diff suppressed because it is too large
+ 157 - 0
seed_data.txt


Some files were not shown because too many files changed in this diff