diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-01-01 16:30:44 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-01-01 16:30:44 -0800 |
| commit | ab810bc59bd3d585627b388e33dc09a3ce69da12 (patch) | |
| tree | 9a3d7290dde4d2bae8850e839f8f5c5766c9a010 /coderepos.pl | |
| parent | wip (diff) | |
| download | github-explorer-ab810bc59bd3d585627b388e33dc09a3ce69da12.tar.gz | |
big import to not lose stuff
Diffstat (limited to '')
| -rw-r--r-- | coderepos.pl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/coderepos.pl b/coderepos.pl new file mode 100644 index 0000000..6f4b7c0 --- /dev/null +++ b/coderepos.pl @@ -0,0 +1,19 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.010; +use Web::Scraper; +use URI; +use YAML::Syck; + +my $scraper = scraper{process "a", "commiters[]" => "TEXT"}; + +my $res = $scraper->scrape(URI->new('http://coderepos.org/share/')); + +my @coderepos; +foreach my $link (@{$res->{commiters}}) { + next if $link !~ /^Committer:(\w+)/; + push @coderepos, $1; +} + +DumpFile('tocheck_coderepos.yaml', \@coderepos); |
