Skip to content

Commit

Permalink
telegram bot
Browse files Browse the repository at this point in the history
  • Loading branch information
topefolorunso committed Jun 17, 2022
1 parent 08cd40e commit e0fb3da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
__pycache__/
*.log
geckodriver.log
*.csv
2 changes: 2 additions & 0 deletions src/scrape_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,15 @@ def scrape_all_jobs(url):
browser.close_browser()
return job_info


def export_jobs_to_file(job_dict, path_to_file):
job_df = pd.DataFrame(job_dict)

print(f'exporting data to {path_to_file} ...')
job_df.to_csv(path_to_file, index=False)
return job_df


def filter_jobs(df, path_to_file, *args):
filtered_df = df

Expand Down

0 comments on commit e0fb3da

Please sign in to comment.