diff --git a/generate.pl b/generate.pl index 998551c..53b3a64 100755 --- a/generate.pl +++ b/generate.pl @@ -13,9 +13,12 @@ my @list; foreach my $wiki ( keys %{$data} ) { foreach my $lang ( @{%{$data}{$wiki}} ) { if ($lang eq 'en') { - push(@list, "*://" . $wiki . ".fandom.com/wiki/*\n") + push @list, "*://" . $wiki . ".fandom.com/wiki/*\n" + } elsif ($lang eq '*') { + push @list, "*://" . $wiki . ".fandom.com/wiki/*\n"; + push @list, "*://" . $wiki . ".fandom.com/*/wiki/*\n" } else { - push(@list, "*://" . $wiki . ".fandom.com/" . $lang . "/wiki/*\n") + push @list, "*://" . $wiki . ".fandom.com/" . $lang . "/wiki/*\n" } } } diff --git a/list.yml b/list.yml index cfd37a5..742b6fd 100644 --- a/list.yml +++ b/list.yml @@ -13,9 +13,9 @@ angrybirds: animalcrossingpocketcamp: [ en ] anime: - [ en, '*' ] + [ '*' ] animanga: - [ en, '*' ] + [ '*' ] ark: [ de, en, es, hr, it, ja, ko, nl, pl, pt, ru, th, zh ] @@ -40,13 +40,13 @@ earthbound: elderscrolls: [ ja ] emulation: - [ en, '*'] + [ '*'] fireemblem: [ en ] football: [ en ] furry: - [ en, '*' ] + [ '*' ] genshin-impact: [ en, ja, zh ] gta: @@ -88,7 +88,7 @@ nonbinary: oldschoolrunescape: [ en ] otaku: - [ en, '*' ] + [ '*' ] pagan: [ en ] pikmin: @@ -98,7 +98,7 @@ podcasts: pokemon: [ de, en, es, fr, it, ja, ko, zh ] religion: - [ en, '*' ] + [ '*' ] runescape: [ en ] sidem: