def save_tax_consultors(bulk_amount=300): """ Parse lawyer files and save them to an excel """ consultors_gen = parse_consultor_files_gen(bulk_amount) export_classes.instances_to_file(consultors_gen, instance_class=TaxConsultor) print 'DONE\n'
def save_lawyers(bulk_amount=300): """ Parse lawyer files and save them to an excel """ lawyers_gen = parse_lawyer_files_gen(bulk_amount) export_classes.instances_to_file(lawyers_gen, instance_class=Lawyer) print 'DONE\n'
def save_consultors(bulk_amount=300): """ Parse lawyer files and save them to an excel """ consultors_gen = parse_consultor_files_gen(150) file_path = export_classes.instances_to_file(consultors_gen, instance_class=OrgConsultor) print 'DONE\n' return file_path
def save_engineers(bulk_amount=300): """ Parse lawyer files and save them to an excel """ engineers_gen = parse_engineer_files_gen(bulk_amount) file_path = export_classes.instances_to_file(engineers_gen, instance_class=Engineer) print 'DONE\n' return file_path
def save_optometrists(bulk_amount=300): """ Parse lawyer files and save them to an excel """ optometrists_gen = parse_optometrist_files_gen(bulk_amount) file_path = export_classes.instances_to_file(optometrists_gen, instance_class=Optometrist) print 'DONE\n' return file_path
def save_appraisers(bulk_amount=300): """ Parse lawyer files and save them to an excel """ appraisers_gen = parse_appraiser_files_gen(bulk_amount) file_path = export_classes.instances_to_file(appraisers_gen, instance_class=Appraiser) print 'DONE\n' return file_path
def main(): BASE_URL=r'http://cee.technion.ac.il/eng/Templates/ShowPage.asp?DBID=1&TMID=139&LNGID=1&FID=166&PID=0&IID={id}' professors_dict = parse_professors(BASE_URL) instances_to_file(professors_dict.values()) return professors_dict
def main(): BASE_URL=r'http://architecture.technion.ac.il/people/faculty/' professors_lst = parse_professors(BASE_URL) instances_to_file(professors_lst) return professors_lst
def main(): BASE_URL=r'http://biology.technion.ac.il/?cmd=staff.47' professors_lst = parse_professors(BASE_URL) instances_to_file(professors_lst) return professors_lst
def main(): BASE_URL=r'http://edu.technion.ac.il/show_details.php?id={id}' professors_dict = parse_professors(BASE_URL) instances_to_file(professors_dict.values()) return professors_dict
def main(): BASE_URL = r'http://cee.technion.ac.il/eng/Templates/ShowPage.asp?DBID=1&TMID=139&LNGID=1&FID=166&PID=0&IID={id}' professors_dict = parse_professors(BASE_URL) instances_to_file(professors_dict.values()) return professors_dict