URL = http://ceodaman.nic.in/Final-Photo-Electoral-Roll-2017/MainPage.htm
Year = Final Photo Roll for 2017
The Script does 3 things:
-
Produces daman.csv that contains metadata about the pdfs. The CSV has the following fields:
language, poll_station_no, file_name
-
Downloads all the pdfs to a directory called
daman_pdfs/
-
Renames the pdfs:
- English language rolls have the prefix
eng
and Gujarati language rolls have the prefixguj
. - The polling station no. is a 3 digit number.
So a sample name = eng_001.pdf
pip install -r requirements.txt
python daman.py
Draft roll for 2018 is also available. So are electoral rolls for 2015 and 2016.