This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scraping: Seminole - Supervisor of Elections | |
Writing results to JSON... | |
Updating the database... | |
True CDB1QRVM4 1572840708.000900 | |
:red_siren: Error scraping Seminole - Supervisor of Elections | |
```Traceback (most recent call last): | |
File "/Users/adelaide/Desktop/elections-master/scripts/update.py", line 43, in updateRaceInfo | |
level=data[race]['level'] | |
File "/Users/adelaide/Desktop/elections-master/virtualenv/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method | |
return getattr(self.get_queryset(), name)(*args, **kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Usage: process.py <input file> <output file> [-l <Language>] [-pdf|-txt|-rtf|-docx|-xml] | |
import shutil | |
import time | |
from os import listdir | |
from os.path import isfile, join | |