Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Loads a INTUIT.ru certificate by given ID number (warning: russian windows-1251 encoding!)
- # This will load a of intuit certificate receiver's name
- curl http://old.intuit.ru/diplom/ektpAz0vnA0q/P00000029 | grep "fio" | awk -F">" '{ print $4 }' | awk -F"<" '{ print $1 }'
- # This will load full certificate details
- curl http://old.intuit.ru/diplom/ektpAz0vnA0q/P00266505 | html2text
- # NOTE! Start of the certificate numbers: P00000029; end number - P00266505
- # The following is BASH script which loads all certificates into certs/$certnum
- # according files. After this you can just use "cat ./* | grep "Name"" to find person
- #!/bin/bash
- mkdir certs
- for certnum in $(seq -f "%06g" 29 266505)
- do
- echo $certnum
- curl "http://old.intuit.ru/diplom/ektpAz0vnA0q/P00$certnum" > certs/$certnum
- done
- # Certificates starts with http://old.intuit.ru/diplom/ektpAz0vnA0q/P00000029
- # Certificates end with http://old.intuit.ru/diplom/ektpAz0vnA0q/P00266505
- # Other links
- # http://old.intuit.ru/diplom/Xb3udMkfHJ4h/A00046531/
- # http://old.intuit.ru/diploma/Xb3udMkfHJ4h/P00046531/
- # http://old.intuit.ru/diploma/aPvmPQL85ojB/P00134757/
- # http://old.intuit.ru/diploma/Rr5xJxjm57J2/P00031652
- # http://old.intuit.ru/diploma/Rr5xJxjm57J2/P00031781
- # Important: old.intuit.ru; diplom -> certificate; diploma -> dipoma;
- # A - English diploma, P - Russian diploma
Advertisement
Add Comment
Please, Sign In to add comment