mirror of https://github.com/Bunsly/JobSpy
proj structure
parent
dafed42d58
commit
8579c8e985
|
@ -1,10 +1,14 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "python-jobspy"
|
name = "python-jobspy"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
description = "Job scraper for LinkedIn, Indeed & ZipRecruiter"
|
description = "Job scraper for LinkedIn, Indeed & ZipRecruiter"
|
||||||
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
authors = ["Zachary Hampton <zachary@zacharysproducts.com>", "Cullen Watson <cullen@cullen.ai>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
|
packages = [
|
||||||
|
{ include = "jobspy", from = "src" }
|
||||||
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
requests = "^2.31.0"
|
requests = "^2.31.0"
|
||||||
|
@ -21,6 +25,3 @@ jupyter = "^1.0.0"
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[[tool.poetry.packages]]
|
|
||||||
include = "jobspy/**/*"
|
|
|
@ -1,17 +1,14 @@
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from typing import List, Dict, Tuple, Union
|
from typing import List, Tuple
|
||||||
|
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
from .jobs import JobType
|
||||||
|
from .scrapers.indeed import IndeedScraper
|
||||||
from .core.jobs import JobType
|
from .scrapers.ziprecruiter import ZipRecruiterScraper
|
||||||
from .core.scrapers.indeed import IndeedScraper
|
from .scrapers.linkedin import LinkedInScraper
|
||||||
from .core.scrapers.ziprecruiter import ZipRecruiterScraper
|
from .scrapers import (
|
||||||
from .core.scrapers.linkedin import LinkedInScraper
|
|
||||||
from .core.scrapers import (
|
|
||||||
ScraperInput,
|
ScraperInput,
|
||||||
Site,
|
Site,
|
||||||
JobResponse,
|
JobResponse,
|
||||||
CommonResponse,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from jobspy import scrape_jobs
|
from src.jobspy import scrape_jobs
|
||||||
|
|
||||||
|
|
||||||
def test_indeed():
|
def test_indeed():
|
||||||
|
@ -6,5 +6,4 @@ def test_indeed():
|
||||||
site_name="indeed",
|
site_name="indeed",
|
||||||
search_term="software engineer",
|
search_term="software engineer",
|
||||||
)
|
)
|
||||||
|
|
||||||
assert result is not None
|
assert result is not None
|
|
@ -1,4 +1,4 @@
|
||||||
from jobspy import scrape_jobs
|
from src.jobspy import scrape_jobs
|
||||||
|
|
||||||
|
|
||||||
def test_ziprecruiter():
|
def test_ziprecruiter():
|
Loading…
Reference in New Issue