Changeset 2532


Ignore:
Timestamp:
Dec 4, 2011, 3:30:31 PM (8 years ago)
Author:
komodo
Message:

fin fix commissions

Location:
cpc/branches/senat/project/batch/commission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpc/branches/senat/project/batch/commission/compute_latest.sh

    r2531 r2532  
    55
    66perl predownload_commission.pl > log_predownload
    7 for file in $(perl download_commission.pl); do
     7for file in $(perl download_commission.pl $1); do
    88        echo try ... ;
    99        perl parse_commission.pl html/$file > out/$file ;
  • cpc/branches/senat/project/batch/commission/conf/ignore.list

    r2531 r2532  
     1http://www.senat.fr/commission/spec/Amenagement/index.html
    12http://www.senat.fr/commission/missions/parlements-europeens/index.html
    23http://www.senat.fr/commission/spec/Initiative/Index.html
  • cpc/branches/senat/project/batch/commission/download_commission.pl

    r2531 r2532  
    2323    eval {$aif->get($index);};
    2424    if ($aif->status() == 404) {
    25         print "ERR: bad file in index : 404 on $index\n";
     25        print STDERR "ERR: bad file in index : 404 on $index\n";
    2626        next;
    2727    }
     
    4242            eval {$a->get($curl);};
    4343            if ($a->status() == 404) {
    44                 print "ERR: 404 ".$a->uri()." (from $index)\n ";
     44                print STDERR "ERR: 404 ".$a->uri()." (from $index)\n ";
    4545                $a->back();
    4646                next;
Note: See TracChangeset for help on using the changeset viewer.