Changeset 2552 for cpc/trunk/project/batch
- Timestamp:
- Jan 1, 2012, 6:43:20 AM (9 years ago)
- Location:
- cpc/trunk/project/batch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/batch/commission/download_commission.pl
r2382 r2552 42 42 $lastyear = localtime(time); 43 43 $lastyear =~ s/^.*\s(\d{4})$/$1/; 44 $lastyear++; 44 45 for $year (2007 .. $lastyear) { 45 46 $session = sprintf('%02d-%02d', $year-2001, $year-2000); -
cpc/trunk/project/batch/documents/download_docs.pl
r2381 r2552 6 6 $lastyear = localtime(time); 7 7 $lastyear =~ s/^.*\s(\d{4})$/$1/; 8 $lastyear++; 8 9 9 10 $a = WWW::Mechanize->new(autocheck => 0); -
cpc/trunk/project/batch/hemicycle/download_hemicycle.pl
r2390 r2552 19 19 "http://www.assemblee-nationale.fr/13/cri/$oldsession-extra2/", 20 20 "http://www.assemblee-nationale.fr/13/cri/$oldsession-extra/", 21 "http://www.assemblee-nationale.fr/13/cri/$oldsession/" ,21 "http://www.assemblee-nationale.fr/13/cri/$oldsession/" 22 22 ); 23 23 -
cpc/trunk/project/batch/questions/compute_latest.sh
r2404 r2552 25 25 perl download_questions.pl > /tmp/download_questions.log 26 26 27 for file in `grep -L "The page cannot be found" html/*`; do27 for file in `grep -Lr "The page cannot be found" html/`; do 28 28 fileout=$(echo $file | sed 's/html/json/' | sed 's/\.htm/\.xml/') 29 29 # perl cut_quest.pl $file > $fileout
Note: See TracChangeset
for help on using the changeset viewer.