mirror of https://github.com/Bunsly/JobSpy
proj structure
parent
0139e7d05f
commit
86f9e6faca
|
@ -634,7 +634,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"from jobscrape import scrape_jobs\n",
|
||||
"from jobspy import scrape_jobs\n",
|
||||
"import pandas as pd\n",
|
||||
"\n",
|
||||
"jobs: pd.DataFrame = scrape_jobs(\n",
|
||||
|
@ -646,18 +646,17 @@
|
|||
"if jobs.empty:\n",
|
||||
" print(\"No jobs found.\")\n",
|
||||
"else:\n",
|
||||
"\n",
|
||||
" #1 print\n",
|
||||
" # 1 print\n",
|
||||
" pd.set_option('display.max_columns', None)\n",
|
||||
" pd.set_option('display.max_rows', None)\n",
|
||||
" pd.set_option('display.width', None)\n",
|
||||
" pd.set_option('display.max_colwidth', 50) # set to 0 to see full job url / desc\n",
|
||||
" print(jobs)\n",
|
||||
"\n",
|
||||
" #2 display in Jupyter Notebook\n",
|
||||
" # 2 display in Jupyter Notebook\n",
|
||||
" display(jobs)\n",
|
||||
"\n",
|
||||
" #3 output to csv\n",
|
||||
" # 3 output to csv\n",
|
||||
" jobs.to_csv('jobs.csv', index=False)"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
[tool.poetry]
|
||||
name = "python-jobspy"
|
||||
version = "0.1.0"
|
||||
description = "Job scraper for LinkedIn, Indeed & ZipRecruiter"
|
||||
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
requests = "^2.31.0"
|
||||
tls-client = "^0.2.1"
|
||||
beautifulsoup4 = "^4.12.2"
|
||||
pandas = "^2.1.0"
|
||||
pydantic = "^2.3.0"
|
||||
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.4.1"
|
||||
jupyter = "^1.0.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[[tool.poetry.packages]]
|
||||
include = "jobspy/**/*"
|
Loading…
Reference in New Issue