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